Diogenes_Barrel_Options Class Reference

List of all members.

Public Member Functions

 Diogenes_Barrel_Options ($alias)
 readOptions ()
 updateOption ($name, $value)

Public Attributes

 $barrel
 $table_option = 'diogenes_option'
 $title = ""
 $description = ""
 $favicon = ""
 $keywords = ""
 $menu_hide_diogenes = 0
 $menu_min_level = 0
 $menu_style = 0
 $menu_theme = "gorilla"
 $template = ""
 $template_dir = ""
 $feed_enable = 0

Detailed Description

This class is used to handle the preferences for a barrel.

Upon construction these preferences are read from database. It is also possible to update the value of the preferences and write the new value to database.

See also:
Diogenes_Barrel

Definition at line 31 of file Options.php.


Member Function Documentation

Diogenes_Barrel_Options::Diogenes_Barrel_Options ( alias  ) 

The constructor, reads the current preferences from database.

Definition at line 74 of file Options.php.

References readOptions().

Here is the call graph for this function:

Diogenes_Barrel_Options::readOptions (  ) 

Read options from database.

Definition at line 83 of file Options.php.

Referenced by Diogenes_Barrel_Options().

Diogenes_Barrel_Options::updateOption ( name,
value 
)

Update an option's value and write the new value to database.

Definition at line 99 of file Options.php.


Member Data Documentation

Diogenes_Barrel_Options::$barrel

The barrel we are operating on

Definition at line 34 of file Options.php.

Diogenes_Barrel_Options::$table_option = 'diogenes_option'

The table holding the options

Definition at line 37 of file Options.php.

Diogenes_Barrel_Options::$title = ""

The site's title

Definition at line 40 of file Options.php.

Diogenes_Barrel_Options::$description = ""

The site's description

Definition at line 43 of file Options.php.

Diogenes_Barrel_Options::$favicon = ""

The relative url to the site's favicon (PNG)

Definition at line 46 of file Options.php.

Diogenes_Barrel_Options::$keywords = ""

The site's keywords

Definition at line 49 of file Options.php.

Diogenes_Barrel_Options::$menu_hide_diogenes = 0

Hide the Diogenes-generated menu entries

Definition at line 52 of file Options.php.

Diogenes_Barrel_Options::$menu_min_level = 0

Minimum menu level (0 means fully expanded)

Definition at line 55 of file Options.php.

Diogenes_Barrel_Options::$menu_style = 0

Menu style (0=classical, 1=phpLayersMenu)

Definition at line 58 of file Options.php.

Diogenes_Barrel_Options::$menu_theme = "gorilla"

Menu theme

Definition at line 61 of file Options.php.

Diogenes_Barrel_Options::$template = ""

Site-wide default template

Definition at line 64 of file Options.php.

Diogenes_Barrel_Options::$template_dir = ""

Directory that hold the site's template

Definition at line 67 of file Options.php.

Diogenes_Barrel_Options::$feed_enable = 0

Enable RSS feed

Definition at line 70 of file Options.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 11 01:20:08 2008 for Diogenes by  doxygen 1.5.1