PHP Class 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.
Author: Chuck Hagenbuch ([email protected])
Author: Eric Rechlin ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

checkPermissions() public static méthode

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 ??
Résultat mixed An array of results or a single boolean?

getBodyTypes() public static méthode

Returns an array of configured body types from Jonah's $conf array.
public static getBodyTypes ( ) : array
Résultat array An array of body types.

getDefaultBodyType() public static méthode

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
Résultat string A default type.

readURL() public static méthode

Obtain the list of stories from the passed in URI.
Deprecation: 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.