コード例 #1
0
ファイル: class.php プロジェクト: BGCX261/zimmerli-svn-to-git
 public function __admin()
 {
     parent::__admin();
     if (cmsController::getInstance()->getCurrentMode() == "admin" && !class_exists("__imp__" . get_class($this))) {
         $this->__loadLib("__config.php");
         $this->__implement("__config_" . get_class($this));
         $this->__loadLib("__messages.php");
         $this->__implement("__messages_users");
         $this->__loadLib("__custom_adm.php");
         $this->__implement("__custom_adm_users");
     } else {
         $this->__loadLib("__register.php");
         $this->__implement("__register_users");
         $this->__loadLib("__forget.php");
         $this->__implement("__forget_users");
         $this->__loadLib("__profile.php");
         $this->__implement("__profile_users");
         $this->__loadLib("__list.php");
         $this->__implement("__list_users");
         $this->__loadLib("__custom.php");
         $this->__implement("__custom_users");
     }
     $this->__loadLib("__loginza.php");
     $this->__implement("__loginza_" . get_class($this));
     $this->__loadLib("__import.php");
     $this->__implement("__imp__" . get_class($this));
     $this->__loadLib("__author.php");
     $this->__implement("__author_users");
     $this->__loadLib("__settings.php");
     $this->__implement("__settings_users");
 }