\Trean_TagBrowser

Trean_TagBrowser:: class provides logic for dealing with tag browsing.

Copyright 2011-2017 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.

Summary

Methods
Properties
Constants
getTagTrail()
getSlice()
addTagLink()
No public properties found
No constants found
No protected methods found
$_app
N/A
No private methods found
No private properties found
N/A

Properties

$_app

$_app : 

Type

Methods

getTagTrail()

getTagTrail() : \Return

Get breadcrumb style navigation html for choosen tags

Returns

\Return —

information useful for building a tag trail.

getSlice()

getSlice(  $page,   $perpage = null) : Array

Fetch the matching resources that should appear on the current page

Parameters

$page
$perpage

Returns

Array —

An array of Trean_Bookmark objects.

addTagLink()

addTagLink(string  $tag) : string

Return a URL to add a new tag to the current search.

Parameters

string $tag

The tag we want to add.

Returns

string