\Trean

Trean Base Class.

Copyright 2002-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
hasPermission()
getFavicon()
addFeedLink()
bookmarkletLink()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

hasPermission()

hasPermission(string  $permission) : mixed

Returns the specified permission for the current user.

Parameters

string $permission

A permission, currently only 'max_folders' and 'max_bookmarks'.

Returns

mixed —

The value of the specified permission.

getFavicon()

getFavicon(\Trean_Bookmark  $bookmark) : \Horde_Url

Returns an apropriate icon for the given bookmark.

Parameters

\Trean_Bookmark $bookmark

The bookmark object.

Returns

\Horde_Url —

The URL for the image.

addFeedLink()

addFeedLink() 

bookmarkletLink()

bookmarkletLink()