Пример #1
0
 public function install()
 {
     /* Adds Module */
     if (parent::install() && $this->registerHook('moduleRoutes') && $this->registerHook('home') && $this->registerHook('leftColumn') && $this->registerHook('rightColumn') && $this->registerHook('header')) {
         /* Install tables */
         $respons = tdpsblogModel::createTables();
         return $respons;
     }
     return false;
 }