コード例 #1
0
ファイル: EmailModule.php プロジェクト: russelldavis/UserBase
 public function __construct()
 {
     parent::__construct();
     if (!is_null(UserConfig::$email_module)) {
         throw new EmailModuleException("You can assign only one email module");
     }
     UserConfig::$email_module = $this;
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
     UserConfig::$authentication_modules[] = $this;
 }