PHP Class 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.
Author: Michael J Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_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

Méthodes publiques

Méthode Description
__construct ( Horde_Variables $vars ) : Nag_View_List Const'r
render ( Horde_PageOutput $output ) : string Renders the view.

Méthodes protégées

Méthode Description
_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.

Method Details

__construct() public méthode

Const'r
public __construct ( Horde_Variables $vars ) : Nag_View_List
$vars Horde_Variables Variables for the view.
Résultat Nag_View_List

_checkSortValue() protected méthode

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

_doDeleteSmartList() protected méthode

Delete a SmartList.
protected _doDeleteSmartList ( )

_doSearch() protected méthode

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

_getRelatedTags() protected méthode

Get HTML to display the related tags links.
protected _getRelatedTags ( ) : string
Résultat string

_getTagTrail() protected méthode

Get HTML to represent the currently selected tags.
protected _getTagTrail ( ) : string
Résultat string

_handleActions() protected méthode

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

_linkAddTag() protected méthode

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.
Résultat string

_linkRemoveTag() protected méthode

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.
Résultat string

_loadTasks() protected méthode

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

render() public méthode

Renders the view.
public render ( Horde_PageOutput $output ) : string
$output Horde_PageOutput The output object.
Résultat string The HTML needed to render the view.

Property Details

$_browser protected_oe property

Tag browser
protected Nag_TagBrowser $_browser
Résultat Nag_TagBrowser

$_haveSearch protected_oe property

Flag to indicate if we have a search.
protected bool $_haveSearch
Résultat boolean

$_showTagBrowser protected_oe property

Flag to indicate whether or not to show the tag browser
protected bool $_showTagBrowser
Résultat boolean

$_smartShare protected_oe property

Share representing the current smarlist (if being viewed).
protected Horde_Share_Object_Base $_smartShare
Résultat Horde_Share_Object_Base

$_tasks protected_oe property

The loaded tasks.
protected Nag_Task $_tasks
Résultat Nag_Task

$_title protected_oe property

Page title
protected string $_title
Résultat string

$_vars protected_oe property

Horde_Variables
protected Horde_Variables $_vars
Résultat Horde_Variables