Overview

Packages

  • Jonah
  • None

Classes

  • Jonah
  • Jonah_Api
  • Jonah_Block_Latest
  • Jonah_Driver
  • Jonah_Driver_Sql
  • Jonah_Exception
  • Jonah_Factory_Driver
  • Jonah_Form_Feed
  • Jonah_Form_Story
  • Jonah_Test
  • Jonah_View_ChannelDelete
  • Jonah_View_ChannelEdit
  • Jonah_View_ChannelList
  • Jonah_View_StoryDelete
  • Jonah_View_StoryEdit
  • Jonah_View_StoryList
  • Jonah_View_StoryPdf
  • Jonah_View_StoryView
  • Jonah_View_TagSearchList
  • Overview
  • Package
  • Class
  • Tree

Class Jonah

Jonah Base Class.

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

Package: Jonah
Author: Chuck Hagenbuch chuck@horde.org
Author: Eric Rechlin eric@hpcalc.org
Located at Jonah.php
Methods summary
public static mixed
# checkPermissions( string $filter, integer $permission = Horde_Perms::READ, mixed $in = null )

Parameters

$filter
The type of channel
$permission
Horde_Perms:: constant
$in
??

Returns

mixed
An array of results or a single boolean?
public static array
# getBodyTypes( )

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

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

Returns

array
An array of body types.
public static string
# 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.

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.
public static array
# getAvailableTypes( )

Returns the available channel types based on what was set in the configuration.

Returns the available channel types based on what was set in the configuration.

Returns

array
The available news channel types.
Constants summary
integer INTERNAL_CHANNEL

Internal Jonah channel.

Internal Jonah channel.

# 0
integer COMPOSITE_CHANNEL

Composite channel.

Composite channel.

# 3
integer ORDER_PUBLISHED
# 0
integer ORDER_READ
# 1
integer ORDER_COMMENTS
# 2
API documentation generated by ApiGen