Public Member Functions |
| | __construct (ipsRegistry $registry) |
| | commentForm ($database, $comment, $editor) |
| | comments ($database, $record, $comments, $pagelinks) |
| | compareRevisions ($database, $fields, $differences) |
| | recordForm ($type, $database, $fields, $record, $fieldClass, $categories='', $revision=false) |
| | records ($database, $fields, $records, $pages, $fieldClass, $queryString, $categoryFilter='', $qc=0) |
| | revisions ($database, $fields, $record, $revisions) |
| | topicComments ($database, $record, $comments, $pagelinks) |
Protected Attributes |
|
| $cache |
|
| $caches |
|
| $DB |
|
| $lang |
|
| $member |
|
| $memberData |
| | $registry |
|
| $request |
|
| $settings |
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| object | $registry | Registry object |
- Returns:
- void
Member Function Documentation
Edit a comment
public
- Parameters:
-
| array | Database data |
| array | Comment data |
| string | Editor HTML |
- Returns:
- string HTML
| comments |
( |
$ |
database, |
|
|
$ |
record, |
|
|
$ |
comments, |
|
|
$ |
pagelinks |
|
) |
| |
Show the list of comments for a particular record
public
- Parameters:
-
| array | Database |
| array | Record data |
| array | Comments |
| string | Page links |
- Returns:
- string HTML
Show the list of revisions for a particular record
public
- Parameters:
-
| array | Database |
| array | Fields |
| array | Differences data |
- Returns:
- string HTML
| recordForm |
( |
$ |
type, |
|
|
$ |
database, |
|
|
$ |
fields, |
|
|
$ |
record, |
|
|
$ |
fieldClass, |
|
|
$ |
categories = '', |
|
|
$ |
revision = false |
|
) |
| |
Add or edit a record
public
- Parameters:
-
| string | add|edit |
| array | Database data |
| array | Fields |
| array | Record data |
| object | Field abstraction class |
| string | Categories |
| bool | This is a revision |
- Returns:
- string HTML
| records |
( |
$ |
database, |
|
|
$ |
fields, |
|
|
$ |
records, |
|
|
$ |
pages, |
|
|
$ |
fieldClass, |
|
|
$ |
queryString, |
|
|
$ |
categoryFilter = '', |
|
|
$ |
qc = 0 |
|
) |
| |
Show the list of records within a database
public
- Parameters:
-
| array | Database |
| array | Fields |
| array | Records |
| string | Pages |
| object | Field abstraction class |
| string | Query string for page links |
| string | Category filter HTML (if categories defined) |
| int | Number of queued comments |
- Returns:
- string HTML
| revisions |
( |
$ |
database, |
|
|
$ |
fields, |
|
|
$ |
record, |
|
|
$ |
revisions |
|
) |
| |
Show the list of revisions for a particular record
public
- Parameters:
-
| array | Database |
| array | Fields |
| array | Record data |
| array | Revisions for this record |
- Returns:
- string HTML
Show the list of comments for a particular record (stored as replies to a topic)
public
- Parameters:
-
| array | Database |
| array | Record data |
| array | Comments |
| string | Page links |
- Returns:
- string HTML
Field Documentation
Registry Object Shortcuts
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/ccs/skin_cp/cp_skin_database_records.php