Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Gdata/App/CaptchaRequiredException.php
Go to the documentation of this file.
00001 <?php
00002 
00027 require_once 'Zend/Gdata/App/AuthException.php';
00028 
00043 class Zend_Gdata_App_CaptchaRequiredException extends Zend_Gdata_App_AuthException
00044 {
00048     const ACCOUNTS_URL = 'https://www.google.com/accounts/';
00049 
00055     private $captchaToken;
00056 
00062     private $captchaUrl;
00063 
00070     public function __construct($captchaToken, $captchaUrl) {
00071         $this->captchaToken = $captchaToken;
00072         $this->captchaUrl = Zend_Gdata_App_CaptchaRequiredException::ACCOUNTS_URL . $captchaUrl;
00073         parent::__construct('CAPTCHA challenge issued by server');
00074     }
00075 
00081     public function getCaptchaToken() {
00082         return $this->captchaToken;
00083     }
00084 
00090     public function getCaptchaUrl() {
00091         return $this->captchaUrl;
00092     }
00093 
00094 }
 All Data Structures Namespaces Files Functions Variables Enumerations