Exemple #1
0
 /**
  * Constructor
  *
  * @param   string   $scope
  * @param   string   $group_cn
  * @param   integer  $project_id
  * @return  void
  */
 public function __construct($scope = 'project', $group_cn = '', $project_id = 0)
 {
     $this->_db = \App::get('db');
     $this->_scope = $scope;
     $this->_project_id = $project_id;
     parent::__construct($scope);
 }
Exemple #2
0
 /**
  * Constructor
  *
  * @param   string $scope
  * @return  void
  */
 public function __construct($scope = '__site__', $group_cn = '', $project_id = 0)
 {
     $this->_db = \App::get('db');
     $this->_scope = $scope;
     $this->_tbl = new \Components\Wiki\Tables\Page($this->_db);
     $this->_group_cn = $group_cn;
     $this->_project_id = $project_id;
     parent::__construct($scope);
 }