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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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.