IP.Board  3.3.0
comments_gallery_images Class Reference
Inheritance diagram for comments_gallery_images:
classes_comments_renderer

Public Member Functions

 __construct ()
 can ($type, array $array)
 count ($parent)
 fetchParent ($id)
 postDelete ($commentIds, $parentId)
 postSave ($type, array $array)
 postVisibility ($toggle, $commentIds, $parentId)
 preSave ($type, array $array)
 remapKeys ($type='comment')
 seoTemplate ()
 settings ()
 table ()
 whoAmI ()

Protected Attributes

 $registry

Constructor & Destructor Documentation

CONSTRUCTOR

Returns:
void

Reimplemented from classes_comments_renderer.


Member Function Documentation

can ( type,
array $  array 
)

Perform a permission check

Parameters:
stringType of check (add/edit/delete/editall/deleteall/approve all)
arrayArray of GENERIC data
Returns:
true or string to be used in exception

Reimplemented from classes_comments_renderer.

count ( parent)

Fetch a total count of comments we can see

Parameters:
mixedparent Id or parent array
Returns:
int

Reimplemented from classes_comments_renderer.

fetchParent ( id)

Fetch parent

Returns:
array
postDelete ( commentIds,
parentId 
)

Post delete. Can do stuff and that

Parameters:
arrayArray of comment IDs to be deleted
intParent ID
Returns:
void

Reimplemented from classes_comments_renderer.

postSave ( type,
array $  array 
)

Post save Accepts an array of GENERIC data and allows manipulation after it's added to DB

Parameters:
stringType of action (edit/add)
arrayArray of GENERIC data (comment_xxxx)
Returns:
array Array of GENERIC data

Reimplemented from classes_comments_renderer.

postVisibility ( toggle,
commentIds,
parentId 
)

Toggles visibility

Parameters:
stringon/off
arrayArray of comment IDs to be deleted
intParent ID
Returns:
void

Reimplemented from classes_comments_renderer.

preSave ( type,
array $  array 
)

Pre save Accepts an array of GENERIC data and allows manipulation before it's added to DB

Parameters:
stringType of save (edit/add)
arrayArray of GENERIC data (comment_xxxx)
Returns:
array Array of GENERIC data

Reimplemented from classes_comments_renderer.

remapKeys ( type = 'comment')

Returns remap keys (generic => local)

Returns:
array

Who am I?

Returns:
string

Reimplemented from classes_comments_renderer.

settings ( )

Fetch settings

Returns:
array
table ( )

Comment table

Returns:
string
whoAmI ( )

Who am I?

Returns:
string

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables