__construct() public method

Constructor
public __construct ( $scope, $params )
示例#1
0
 /**
  * Constructor
  */
 public function __construct($scope)
 {
     parent::__construct($scope);
     /* trick table name */
     if ($scope != 'agora') {
         $this->_threads_table = 'agora_messages_' . $scope;
         $this->_forums_table = 'agora_forums_' . $scope;
     }
 }