PHP Class 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.
Show file
Open project: horde/horde
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$_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. |
|
Public Methods
Method |
Description |
|
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. |
|
Protected Methods
Method |
Description |
|
_runSearch ( ) : array |
Override the default tag search in order to filter by the 'completed'
filter. |
|
Method Details
_runSearch()
protected method
Override the default tag search in order to filter by the 'completed'
filter.
Fetch the matching resources that should appear on the current page
getTagTrail()
public method
Get breadcrumb style navigation html for choosen tags
public getTagTrail ( ) : Return |
return |
Return |
information useful for building a tag trail. |
setFilter()
public method
Set the Nag::VIEW_* constant for the browser.
Property Details
Application that the tag browser is for.
protected string $_app |
return |
string |
|
$_completed protected property
The 'completed' filter value.
protected int $_completed |
return |
integer |
|
$_tasks protected property
Cache the last tag search to avoid having to retrieve the tags from the
backend twice.
protected Nag_Task $_tasks |
return |
Nag_Task |
|