Property | Type | Description | |
---|---|---|---|
$_bookmarks | array | The loaded bookmarks. | |
$_browser | Trean_TagBrowser | Tag Browser | |
$_noSearch | boolean | Flag to indicate we have an empty search. | |
$_page | integer | Current page | |
$_perPage | integer | Bookmarks to display per page | |
$_showTagBrowser | boolean | Flag to indicate whether or not to show the tag browser |
Method | Description | |
---|---|---|
__construct ( $bookmarks = null, $browser = null ) | Const'r | |
hasBookmarks ( ) : boolean | Returns whether bookmarks currently exist. | |
render ( $title = null ) | Renders the view. | |
showTagBrowser ( $showTagBrowser ) | Toggle showing of the tag browser |
Method | Description | |
---|---|---|
_getBookmarkList ( ) : string | Returns the HTML to display a bookmark list. | |
_getBookmarks ( ) | Loads the bookmarks from the backend. | |
_getRelatedTags ( ) : string | Get HTML to display the related tags links. | |
_getTagTrail ( ) : string | Get HTML to represent the currently selected tags. | |
_linkRemoveTag ( string $tag ) : string | Get HTML for a link to remove a tag from the current search. |
protected _getBookmarkList ( ) : string | ||
return | string | Bookmark list HTML. |
protected _getRelatedTags ( ) : string | ||
return | string |
protected _getTagTrail ( ) : string | ||
return | string |
protected _linkRemoveTag ( string $tag ) : string | ||
$tag | string | The tag we want the link for. |
return | string |
public hasBookmarks ( ) : boolean | ||
return | boolean | True if there exist any bookmarks in the backend. |
public showTagBrowser ( $showTagBrowser ) |
protected Trean_TagBrowser $_browser | ||
return | Trean_TagBrowser |
protected bool $_noSearch | ||
return | boolean |
protected int $_perPage | ||
return | integer |
protected bool $_showTagBrowser | ||
return | boolean |