Constructor & Destructor Documentation
Member Function Documentation
| can |
( |
$ |
type, |
|
|
array $ |
array |
|
) |
| |
Perform a permission check
- Parameters:
-
| string | Type of check (add/edit/delete/editall/deleteall/approve all) |
| array | Array of GENERIC data |
- Returns:
- true or string to be used in exception
Reimplemented from classes_comments_renderer.
Fetch a total count of comments we can see
- Parameters:
-
| mixed | parent Id or parent array |
- Returns:
- int
Reimplemented from classes_comments_renderer.
Fetch parent
- Returns:
- array
Post delete. Can do stuff and that
- Parameters:
-
| array | Array of comment IDs to be deleted |
| int | Parent ID |
- Returns:
- void
Reimplemented from classes_comments_renderer.
Post save Accepts an array of GENERIC data and allows manipulation after it's added to DB
- Parameters:
-
| string | Type of action (edit/add) |
| array | Array of GENERIC data (comment_xxxx) |
- Returns:
- array Array of GENERIC data
Reimplemented from classes_comments_renderer.
Toggles visibility
- Parameters:
-
| string | on/off |
| array | Array of comment IDs to be deleted |
| int | Parent ID |
- Returns:
- void
Reimplemented from classes_comments_renderer.
Pre save Accepts an array of GENERIC data and allows manipulation before it's added to DB
- Parameters:
-
| string | Type of save (edit/add) |
| array | Array of GENERIC data (comment_xxxx) |
- Returns:
- array Array of GENERIC data
Reimplemented from classes_comments_renderer.
Returns remap keys (generic => local)
- Returns:
- array
Fetch settings
- Returns:
- array
Comment table
- Returns:
- string
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/gallery/extensions/comments/images.php