PHP Class ArticleAttachmentsList

Inheritance: extends ListObject
Mostrar archivo Open project: sourcefabric/newscoop Class Usage Examples

Protected Methods

Method Description
CreateList ( integer $p_start, integer $p_limit, array $p_parameters, &$p_count ) : array Creates the list of objects. Sets the parameter $p_hasNextElements to true if this list is limited and elements still exist in the original list (from which this was truncated) after the last element of this list.
ProcessConstraints ( array $p_constraints ) : array Processes list constraints passed in an array.
ProcessOrder ( array $p_order ) : array Processes order constraints passed in an array.
ProcessParameters ( array $p_parameters ) : array Processes the input parameters passed in an array; drops the invalid parameters and parameters with invalid values. Returns an array of valid parameters.

Method Details

CreateList() protected method

Creates the list of objects. Sets the parameter $p_hasNextElements to true if this list is limited and elements still exist in the original list (from which this was truncated) after the last element of this list.
protected CreateList ( integer $p_start, integer $p_limit, array $p_parameters, &$p_count ) : array
$p_start integer
$p_limit integer
$p_parameters array
return array

ProcessConstraints() protected method

Processes list constraints passed in an array.
protected ProcessConstraints ( array $p_constraints ) : array
$p_constraints array
return array

ProcessOrder() protected method

Processes order constraints passed in an array.
protected ProcessOrder ( array $p_order ) : array
$p_order array
return array

ProcessParameters() protected method

Processes the input parameters passed in an array; drops the invalid parameters and parameters with invalid values. Returns an array of valid parameters.
protected ProcessParameters ( array $p_parameters ) : array
$p_parameters array
return array