Exemplo n.º 1
0
 /**
  *@Description : constructor
  *
  *@return: constractor
  */
 public function __construct($db)
 {
     global $My_Lang;
     global $My_Sql;
     $this->_SQL =& $My_Sql;
     My_Kernel::loadLang('module', 'news');
     //load class language
     parent::General($db);
 }
Exemplo n.º 2
0
 /**
  *@Description : constructor
  *
  *@return: constractor
  */
 public function __construct($db)
 {
     global $My_Lang;
     global $My_Sql;
     require_once dirname(__FILE__) . '/../news.sql.php';
     $this->_SQL =& $My_Sql;
     My_Kernel::loadLang('module', 'news');
     //load class language
     parent::General($db);
 }
Exemplo n.º 3
0
 public function __construct($db)
 {
     $this->_db = $db;
     parent::__construct('permission');
 }
Exemplo n.º 4
0
 public function __construct($db)
 {
     $this->_db = $db;
     parent::__construct('role');
 }