PHP Класс 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.
Автор: Ralf Lang ([email protected])
Наследование: extends Sesha_View_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $config )
allCategories ( ) : array Retrieves all categories from driver.

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

public __construct ( array $config )
$config array

allCategories() публичный Метод

Retrieves all categories from driver.
public allCategories ( ) : array
Результат array List of Sesha_Entity_Category objects.

columnHeaders() защищенный Метод

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

properties() защищенный Метод

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

stock() защищенный Метод

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