Пример #1
0
 public function get($sModule)
 {
     if (!isset($this->_aModules[$sModule])) {
         Phpfox_Error::toss('Not a valid module.');
     }
     return Phpfox_Database::instance()->select('*')->from(Phpfox::getT('module'))->where(['module_id' => $sModule])->get();
 }