\Jonah

Jonah Base Class.

Copyright 2002-2017 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.

Summary

Methods
Properties
Constants
readURL()
checkPermissions()
getBodyTypes()
getDefaultBodyType()
No public properties found
ORDER_PUBLISHED
ORDER_READ
ORDER_COMMENTS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

ORDER_PUBLISHED

ORDER_PUBLISHED

ORDER_READ

ORDER_READ

ORDER_COMMENTS

ORDER_COMMENTS

Methods

readURL()

readURL(string  $url) 

Obtain the list of stories from the passed in URI.

Parameters

string $url

The url to get the list of the channel's stories.

checkPermissions()

checkPermissions(string  $filter, integer  $permission = \Horde_Perms::READ, mixed  $in = null) : mixed

Parameters

string $filter

The type of channel

integer $permission

Horde_Perms:: constant

mixed $in

??

Returns

mixed —

An array of results or a single boolean?

getBodyTypes()

getBodyTypes() : array

Returns an array of configured body types from Jonah's $conf array.

Returns

array —

An array of body types.

getDefaultBodyType()

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.

Returns

string —

A default type.