Class

ContentManagementConfig

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 21 Since: PHPBoost 3.0 - 2010 07 07 Contributor: Kevin MASSY reidlos@phpboost.com Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: phpboost/config/ContentManagementConfig.class.php
AbstractConfigData implements ConfigData
Extended by ContentManagementConfig
Methods summary
public
public
public
public
# set_anti_flood_duration( $duration )
public
public
public
public
public
public
public
public
public
public
# set_notation_enabled( $enabled )
public
public
# set_notation_scale( $scale )
public
public
public
public
public
public
public
public
public
public
public
public
# set_opengraph_enabled( $enabled )
public
public
public
public
public
protected string[mixed]
# get_default_values( )

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

public static ContentManagementConfig
# load( )

Returns the configuration.

public static
# save( )

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

Constants summary
string ANTI_FLOOD_ENABLED
# 'anti_flood'
string ANTI_FLOOD_DURATION
# 'anti_flood_duration'
string USED_CAPTCHA_MODULE
# 'used_captcha_module'
string NEW_CONTENT_ENABLED
# 'new_content'
string NEW_CONTENT_DURATION
# 'new_content_duration'
string NEW_CONTENT_UNAUTHORIZED_MODULES
# 'new_content_unauthorized_modules'
string NOTATION_ENABLED
# 'new_notation'
string NOTATION_SCALE
# 'notation_scale'
string NOTATION_UNAUTHORIZED_MODULES
# 'notation_unauthorized_modules'
string CONTENT_SHARING_ENABLED
# 'content_sharing_enabled'
string CONTENT_SHARING_EMAIL_ENABLED
# 'content_sharing_email_enabled'
string CONTENT_SHARING_PRINT_ENABLED
# 'content_sharing_print_enabled'
string CONTENT_SHARING_SMS_ENABLED
# 'content_sharing_sms_enabled'
string OPENGRAPH_ENABLED
# 'opengraph_enabled'
string SITE_DEFAULT_PICTURE_URL
# 'site_default_picture_url'