Exemple #1
0
 /**
  * リスト表示するmodelとviewの初期化
  *
  * @return void
  */
 public function __construct()
 {
     $_ = $this;
     parent::__construct();
     // modelの初期化
     $_->UserauthRecord = $_->getModel('UserauthRecord');
 }
Exemple #2
0
 /**
  * 初期化
  *
  * @return void
  */
 public function __construct()
 {
     $_ = $this;
     parent::__construct();
     // modelの初期化
     $_->UserauthRecord = new UserauthRecord();
     $_->AuthProviderRecord = new AuthProviderRecord();
     $_->config['base_url'] = "http://" . $_SERVER['SERVER_NAME'] . "/authCallBack.php";
     $_->config['debug_mode'] = "info";
     // info or false
     $_->config['debug_file'] = $_->APP_ROOT . "/var/log/hybridauth.log";
 }