PHP Класс Jonah, horde

Copyright 2002-2015 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://cvs.horde.org/co.php/jonah/LICENSE.
Автор: Chuck Hagenbuch ([email protected])
Автор: Eric Rechlin ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
checkPermissions ( string $filter, integer $permission = Horde_Perms::READ, mixed $in = null ) : mixed
getBodyTypes ( ) : array Returns an array of configured body types from Jonah's $conf array.
getDefaultBodyType ( ) : string Tries to figure out a default body type. Used when none has been specified and a types is needed to fall back on to.
readURL ( string $url ) Obtain the list of stories from the passed in URI.

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

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

public static checkPermissions ( string $filter, integer $permission = Horde_Perms::READ, mixed $in = null ) : mixed
$filter string The type of channel
$permission integer Horde_Perms:: constant
$in mixed ??
Результат mixed An array of results or a single boolean?

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

Returns an array of configured body types from Jonah's $conf array.
public static getBodyTypes ( ) : array
Результат array An array of body types.

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

Tries to figure out a default body type. Used when none has been specified and a types is needed to fall back on to.
public static getDefaultBodyType ( ) : string
Результат string A default type.

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

Obtain the list of stories from the passed in URI.
Устаревший: Will be removed when external channels are removed.
public static readURL ( string $url )
$url string The url to get the list of the channel's stories.