Class

CommentsConfig

Package: phpboost Author: Benoit SAUTEL <ben.popeye@phpboost.com> Desc Located at phpboost/config/CommentsConfig.class.php
AbstractConfigData implements ConfigData
Extended by CommentsConfig
Methods summary
public
public
# set_comments_enabled( mixed $enabled )
public
public
public
public
# set_authorizations( array $array )
public
public
# set_number_comments_display( mixed $number )
public
public
# set_forbidden_tags( array $forbidden_tags )
public
public
# set_order_display_comments( mixed $order )
public
public
# set_approbation_comments( mixed $approbation )
public string[mixed]
# get_default_values( )
public static CommentsConfig
# 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 COMMENTS_ENABLED 'comments'
#
string COMMENTS_UNAUTHORIZED_MODULE 'comments_unauthorized_modules'
#
string AUTHORIZATIONS 'authorizations'
#
string NUMBER_COMMENTS_DISPLAY 'number_comments_per_page'
#
string FORBIDDEN_TAGS 'forbidden_tags'
#
string ORDER_DISPLAY_COMMENTS 'order_display_comments'
#
string ASC_ORDER 'ASC'
#
string DESC_ORDER 'DESC'
#