Class

GeneralConfig

Package: PHPBoost\Config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2018 09 26 Since: PHPBoost 3.0 - 2010 07 05 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com 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
public Date
public
public
public
# set_site_timezone( $timezone )
protected string[mixed]
# get_default_values( )

Returns a map associating to each property name the corresponding default value

public static
public static
public
public
# set_site_name( $site_name )
public
public
# set_site_slogan( $site_slogan )
public
public
# set_site_description( $site_description )
public
public
# set_module_home_page( $start_page )
public
public
# set_other_home_page( $start_page )
public static GeneralConfig
# load( )

Returns the configuration.

public static
# save( )

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

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'