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
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__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 = [] )