PHP Класс Nag_View_List, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (BSD). If you did not did not receive this file, see http://www.horde.org/licenses/bsdl.php.
Автор: Michael J Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_browser Nag_TagBrowser Tag browser
$_haveSearch boolean Flag to indicate if we have a search.
$_showTagBrowser boolean Flag to indicate whether or not to show the tag browser
$_smartShare Horde_Share_Object_Base Share representing the current smarlist (if being viewed).
$_tasks Nag_Task The loaded tasks.
$_title string Page title
$_vars Horde_Variables Horde_Variables

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

Метод Описание
__construct ( Horde_Variables $vars ) : Nag_View_List Const'r
render ( Horde_PageOutput $output ) : string Renders the view.

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

Метод Описание
_checkSortValue ( ) Helper to check/update the sort prefs
_doDeleteSmartList ( ) Delete a SmartList.
_doSearch ( ) Performs a Task search. self::_tasks is populated with the results.
_getRelatedTags ( ) : string Get HTML to display the related tags links.
_getTagTrail ( ) : string Get HTML to represent the currently selected tags.
_handleActions ( $action = null ) Helper to handle any incoming actions.
_linkAddTag ( string $tag ) : string Get HTML for a link to add a new tag to the current search.
_linkRemoveTag ( string $tag ) : string Get HTML for a link to remove a tag from the current search.
_loadTasks ( $lists = null ) Load the full, sorted task list.

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

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

Const'r
public __construct ( Horde_Variables $vars ) : Nag_View_List
$vars Horde_Variables Variables for the view.
Результат Nag_View_List

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

Helper to check/update the sort prefs
protected _checkSortValue ( )

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

Delete a SmartList.
protected _doDeleteSmartList ( )

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

Performs a Task search. self::_tasks is populated with the results.
protected _doSearch ( )

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

Get HTML to display the related tags links.
protected _getRelatedTags ( ) : string
Результат string

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

Get HTML to represent the currently selected tags.
protected _getTagTrail ( ) : string
Результат string

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

Helper to handle any incoming actions.
protected _handleActions ( $action = null )

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

Get HTML for a link to add a new tag to the current search.
protected _linkAddTag ( string $tag ) : string
$tag string The tag we want to add.
Результат string

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

Get HTML for a link to remove a tag from the current search.
protected _linkRemoveTag ( string $tag ) : string
$tag string The tag we want the link for.
Результат string

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

Load the full, sorted task list.
protected _loadTasks ( $lists = null )

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

Renders the view.
public render ( Horde_PageOutput $output ) : string
$output Horde_PageOutput The output object.
Результат string The HTML needed to render the view.

Описание свойств

$_browser защищенное свойство

Tag browser
protected Nag_TagBrowser $_browser
Результат Nag_TagBrowser

$_haveSearch защищенное свойство

Flag to indicate if we have a search.
protected bool $_haveSearch
Результат boolean

$_showTagBrowser защищенное свойство

Flag to indicate whether or not to show the tag browser
protected bool $_showTagBrowser
Результат boolean

$_smartShare защищенное свойство

Share representing the current smarlist (if being viewed).
protected Horde_Share_Object_Base $_smartShare
Результат Horde_Share_Object_Base

$_tasks защищенное свойство

The loaded tasks.
protected Nag_Task $_tasks
Результат Nag_Task

$_title защищенное свойство

Page title
protected string $_title
Результат string

$_vars защищенное свойство

Horde_Variables
protected Horde_Variables $_vars
Результат Horde_Variables