Cheetah
ChShoutBoxConfig.php
Go to the documentation of this file.
1 <?php
2 
8  require_once(CH_DIRECTORY_PATH_CLASSES . 'ChWsbConfig.php');
9 
11  {
12  // contain Db table's name ;
15 
18 
23  {
24  parent::__construct($aModule);
25 
26  // define the tables prefix ;
27  $this -> sTablePrefix = $this -> getDbPrefix();
28  $this -> iLifeTime = (int) getParam('shoutbox_clean_oldest'); //in seconds
29 
30  $this -> iUpdateTime = (int) getParam('shoutbox_update_time'); //(in milliseconds)
31  $this -> iAllowedMessagesCount = (int) getParam('shoutbox_allowed_messages');
32 
33  $this -> iBlockExpirationSec = (int) getParam('shoutbox_block_sec'); //in seconds
34  }
35  }
ChShoutBoxConfig\$iAllowedMessagesCount
$iAllowedMessagesCount
Definition: ChShoutBoxConfig.php:17
ChShoutBoxConfig\$iUpdateTime
$iUpdateTime
Definition: ChShoutBoxConfig.php:16
$aModule
$aModule
Definition: classifieds.php:21
php
ChShoutBoxConfig\__construct
__construct($aModule)
Definition: ChShoutBoxConfig.php:22
ChWsbConfig\getDbPrefix
getDbPrefix()
Definition: ChWsbConfig.php:87
ChShoutBoxConfig\$sTablePrefix
$sTablePrefix
Definition: ChShoutBoxConfig.php:13
ChShoutBoxConfig\$iLifeTime
$iLifeTime
Definition: ChShoutBoxConfig.php:14
getParam
getParam($sParamName, $bUseCache=true)
Definition: db.inc.php:130
ChWsbConfig
Definition: ChWsbConfig.php:38
ChShoutBoxConfig
Definition: ChShoutBoxConfig.php:11