PHP Class Trean, horde

Copyright 2002-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: Mike Cochrane ([email protected])
显示文件 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
addFeedLink ( )
bookmarkletLink ( )
getFavicon ( Trean_Bookmark $bookmark ) : Horde_Url Returns an apropriate icon for the given bookmark.
hasPermission ( string $permission ) : mixed Returns the specified permission for the current user.

Method Details

getFavicon() static public method

Returns an apropriate icon for the given bookmark.
static public getFavicon ( Trean_Bookmark $bookmark ) : Horde_Url
$bookmark Trean_Bookmark The bookmark object.
return Horde_Url The URL for the image.

hasPermission() static public method

Returns the specified permission for the current user.
static public hasPermission ( string $permission ) : mixed
$permission string A permission, currently only 'max_folders' and 'max_bookmarks'.
return mixed The value of the specified permission.