PHP Class Sesha_View_List, horde

Available fields: - header: (string) The header text related to the listing table. - selectedCategories: (array) The selected categories. - columnHeaders: (array) The columns structure for the result table. - shownProperties: (array) The list of property objects to use. - shownStock: (array) The stock display matrix Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Ralf Lang ([email protected])
Inheritance: extends Sesha_View_Base
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( array $config )
allCategories ( ) : array Retrieves all categories from driver.

Protected Methods

Method Description
columnHeaders ( $sortdir, $sortby ) Builds column header array out of the list of properties and default attributes.
properties ( $propertyIds = [] ) Returns the list of property objects to display.
stock ( $filters = [] ) Returns the items which match the category or search criteria.

Method Details

__construct() public method

public __construct ( array $config )
$config array

allCategories() public method

Retrieves all categories from driver.
public allCategories ( ) : array
return array List of Sesha_Entity_Category objects.

columnHeaders() protected method

Builds column header array out of the list of properties and default attributes.
protected columnHeaders ( $sortdir, $sortby )

properties() protected method

Returns the list of property objects to display.
protected properties ( $propertyIds = [] )

stock() protected method

Returns the items which match the category or search criteria.
protected stock ( $filters = [] )