Class

GeneralConfig

Package: phpboost Author: Benoit SAUTEL <ben.popeye@phpboost.com> Desc Located at phpboost/config/GeneralConfig.class.php
AbstractConfigData implements ConfigData
Extended by GeneralConfig
Methods summary
public
public
public
public
# set_site_url( string $url )
public
public
# set_site_path( string $path )
public
public
# set_phpboost_major_version( mixed $version )
public Date
public
public
public
# set_site_timezone( mixed $timezone )
protected string[mixed]
# get_default_values( )
public static
public static
public
public
# set_site_name( mixed $site_name )
public
public
# set_site_slogan( mixed $site_slogan )
public
public
# set_site_description( mixed $site_description )
public
public
# set_module_home_page( mixed $start_page )
public
public
# set_other_home_page( mixed $start_page )
public static GeneralConfig
# load( )

Returns the configuration.

public static
# save( )

Saves the configuration in the database. Has it become persistent.

Methods inherited from AbstractConfigData
__construct(), get_property(), set_default_values(), set_property(), synchronize()
Constants summary
string SITE_URL 'site_url'
#
string SITE_PATH 'site_path'
#
string SITE_NAME 'site_name'
#
string SITE_SLOGAN 'site_slogan'
#
string SITE_DESCRIPTION 'site_description'
#
string MODULE_HOME_PAGE 'module_home_page'
#
string OTHER_HOME_PAGE 'other_home_page'
#
string PHPBOOST_VERSION 'phpboost_version'
#
string SITE_INSTALL_DATE 'site_install_date'
#
string SITE_TIMEZONE 'timezone'
#