setLoginPage() public method

Login page should be specified in the format of page path.
See also: TPageService
public setLoginPage ( $pagePath )
コード例 #1
0
ファイル: TAuthManagerTest.php プロジェクト: pradosoft/prado
 public function testDoAuthentication()
 {
     throw new PHPUnit_Framework_IncompleteTestError();
     // Not yet finished, Session won't start because of headers :( :(
     $authManager = new TAuthManager();
     $authManager->setUserManager('users');
     $authManager->init(null);
     $authManager->setLoginPage('LoginPage');
     self::$app->raiseEvent('onAuthentication', self::$app, null);
 }