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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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