PHP 클래스 Nag_TagBrowser, horde

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.
저자: Michael J Rubinsky ([email protected])
상속: extends Horde_Core_TagBrowser
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_app string Application that the tag browser is for.
$_completed integer The 'completed' filter value.
$_tasks Nag_Task Cache the last tag search to avoid having to retrieve the tags from the backend twice.

공개 메소드들

메소드 설명
getSlice ( integer $page, integer $perpage = null ) : Nag_Task Fetch the matching resources that should appear on the current page
getTagTrail ( ) : Return Get breadcrumb style navigation html for choosen tags
setFilter ( integer $completed ) Set the Nag::VIEW_* constant for the browser.

보호된 메소드들

메소드 설명
_runSearch ( ) : array Override the default tag search in order to filter by the 'completed' filter.

메소드 상세

_runSearch() 보호된 메소드

Override the default tag search in order to filter by the 'completed' filter.
protected _runSearch ( ) : array
리턴 array An array of task UIDs.

getSlice() 공개 메소드

Fetch the matching resources that should appear on the current page
public getSlice ( integer $page, integer $perpage = null ) : Nag_Task
$page integer Start page.
$perpage integer Number of tasks per page.
리턴 Nag_Task A list of tasks.

getTagTrail() 공개 메소드

Get breadcrumb style navigation html for choosen tags
public getTagTrail ( ) : Return
리턴 Return information useful for building a tag trail.

setFilter() 공개 메소드

Set the Nag::VIEW_* constant for the browser.
public setFilter ( integer $completed )
$completed integer The Nag::VIEW_* constant to filter the results

프로퍼티 상세

$_app 보호되어 있는 프로퍼티

Application that the tag browser is for.
protected string $_app
리턴 string

$_completed 보호되어 있는 프로퍼티

The 'completed' filter value.
protected int $_completed
리턴 integer

$_tasks 보호되어 있는 프로퍼티

Cache the last tag search to avoid having to retrieve the tags from the backend twice.
protected Nag_Task $_tasks
리턴 Nag_Task