/**
  * __construct
  * 
  * @param   XoopsDatabase  &$db
  * @param   string  $dirname
  * 
  * @return  void
  **/
 public function __construct(&$db, $dirname)
 {
     $this->mTable = strtr($this->mTable, array('{dirname}' => $dirname));
     parent::XoopsObjectGenericHandler($db);
 }
 /**
  * __construct
  * 
  * @param   XoopsDatabase  &$db
  * @param   string  $dirname
  * 
  * @return  void
  **/
 public function __construct(&$db, $dirname)
 {
     $this->mTable = strtr($this->mTable, array('{dirname}' => $dirname));
     parent::XoopsObjectGenericHandler($db);
     $this->mUtils = new Xcforum_Utils();
     $this->mAsset = new Xcforum_AssetManager($this->mDirname);
     $this->_setupAccessController('forums');
     $this->mDirname = $dirname;
     $this->mForumAcc = $this->_get_forum_permissions();
     //adump($this->mForumAcc);
     //atrace();
 }
Exemple #3
0
 /**
  * __construct
  * 
  * @param   XoopsDatabase  &$db
  * @param   string  $dirname
  * 
  * @return  void
  **/
 public function __construct(&$db, $dirname)
 {
     $this->mTable = strtr($this->mTable, array('{dirname}' => $dirname));
     parent::XoopsObjectGenericHandler($db);
     $this->mRoot =& XCube_Root::getSingleton();
     $this->got_forum_id = intval($this->mRoot->mContext->mRequest->getRequest('forum_id'));
 }
Exemple #4
0
 /**
  * __construct
  * 
  * @param   XoopsDatabase  &$db
  * @param   string  $dirname
  * 
  * @return  void
  **/
 public function __construct(&$db, $dirname)
 {
     $this->mTable = strtr($this->mTable, array('{dirname}' => $dirname));
     parent::XoopsObjectGenericHandler($db);
     $this->mRoot =& XCube_Root::getSingleton();
     $this->mModule =& $this->mRoot->mContext->mModule;
     $this->mAsset =& $this->mModule->mAssetManager;
 }
Exemple #5
0
 /**
  * __construct
  *
  * @param   XoopsDatabase  &$db
  * @param   string  $dirname
  *
  * @return  void
  **/
 public function __construct(&$db, $dirname)
 {
     parent::XoopsObjectGenericHandler($db);
     $this->mDirname = $dirname;
 }