Methods summary
public
mixed
|
#
get( mixed $id, array $fields = array(), array $options = array() )
Get post comments by post ID
Get post comments by post ID
Parameters
- $id
mixed $id
- $fields
array $fields
- $options
array $options
Returns
mixed
|
public
|
#
getSubtree( mixed $post_id, mixed $parent_id = null )
|
public
|
|
public
|
#
getList( mixed $search_options = array(), mixed $fields = array(), mixed $options = array() )
|
public
|
#
prepareView( mixed $items, mixed $fields = array(), mixed $extend_options = array() )
|
public
|
|
public
|
|
public
boolean
|
#
add( array $comment, integer $parent = null, integer|null $before_id = null )
Insert new item on some level (parent_id) before some item (before_id)
Insert new item on some level (parent_id) before some item (before_id)
Parameters
- $comment
array $data
- $parent
integer $parent_id If null than rool level
- $before_id
integer|null $before_id If null than place at the end of level
Returns
boolean
Overrides
|
public
boolean
|
#
deleteByField( mixed $field, mixed $value = null )
Delete records from table and fire evenets
Delete records from table and fire evenets
Parameters
- $field
mixed $field
- $value
mixed $value
Returns
boolean
Overrides
|
public
|
|
public static
|
|