PHP Класс 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.
Автор: Mike Cochrane ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

getFavicon() статический публичный Метод

Returns an apropriate icon for the given bookmark.
static public getFavicon ( Trean_Bookmark $bookmark ) : Horde_Url
$bookmark Trean_Bookmark The bookmark object.
Результат Horde_Url The URL for the image.

hasPermission() статический публичный Метод

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'.
Результат mixed The value of the specified permission.