Constructor & Destructor Documentation
Member Function Documentation
Check for queued comments
- Returns:
- bool
perform: Check for new comment
- Returns:
- bool
| akismetLog |
( |
$ |
comment, |
|
|
$ |
action, |
|
|
$ |
akismetError = '' |
|
) |
| |
Log akismet call
- Parameters:
-
| array | $comment | Data sent to akismet |
| string | $action | Action performed |
| string | $akismetError | Akismet error, if any was returned |
- Returns:
- void
| 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
Field Documentation
$_parentRemap [protected] |
Initial value: array('parent_id' => 'entry_id',
'parent_owner_id' => 'entry_author_id',
'parent_parent_id' => 'blog_id',
'parent_title' => 'entry_name',
'parent_seo_title' => 'entry_name_seo',
'parent_date' => 'entry_date'
)
Internal parent remap array
- Parameters:
-
Initial value: array( 'comment_id' => 'comment_id',
'comment_author_id' => 'member_id',
'comment_author_name' => 'member_name',
'comment_text' => 'comment_text',
'comment_ip_address' => 'ip_address',
'comment_edit_date' => 'comment_edit_time',
'comment_date' => 'comment_date',
'comment_approved' => 'comment_approved',
'comment_parent_id' => 'entry_id'
)
Internal remap array
- Parameters:
-
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/blog/extensions/comments/entries.php