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
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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