Zend_Service_ReCaptcha_MailHideZend_Service_ReCaptcha_MailHide
Located in /Service/ReCaptcha/MailHide.php (line 35)
Zend_Service_Abstract | --Zend_Service_ReCaptcha | --Zend_Service_ReCaptcha_MailHide
Zend_Service_ReCaptcha_MailHide
__construct
([string $publicKey = null], [string $privateKey = null], [string $email = null], [array|Zend_Config $options = null])
string
$_email
= null (line 58)
The email address to protect
string
$_emailDomainPart
= null (line 84)
The domain part of the email
string
$_emailLocalPart
= null (line 77)
The local part of the email
Zend_Validate_Interface
$_emailValidator
(line 63)
string
$_privateKeyPacked
= null (line 70)
Binary representation of the private key
Inherited from Zend_Service_ReCaptcha
Zend_Service_ReCaptcha::$_ip
Zend_Service_ReCaptcha::$_options
Zend_Service_ReCaptcha::$_params
Zend_Service_ReCaptcha::$_privateKey
Zend_Service_ReCaptcha::$_publicKey
Zend_Service_ReCaptcha::$_response
Inherited from Zend_Service_Abstract
Zend_Service_Abstract::$_httpClient
Constructor __construct (line 94)
Local constructor
getDefaultOptions (line 186)
Get the default set of parameters
getEmail (line 255)
Get the email property
getEmailDomainPart (line 275)
Get the domain part of the email address
getEmailLocalPart (line 265)
Get the local part of the email address
getHtml (line 287)
Get the HTML code needed for the mail hide
setEmail (line 223)
Set the email property
This method will set the email property along with the local and domain parts
setPrivateKey (line 205)
Override the setPrivateKey method
Override the parent method to store a binary representation of the private key as well.
_getUrl (line 337)
Get the url used on the "hidden" part of the email address
_requireMcrypt (line 151)
See if the mcrypt extension is available
__toString (line 169)
Serialize as string
When the instance is used as a string it will display the email address. Since we can't throw exceptions within this method we will trigger a user warning instead.
Inherited From Zend_Service_ReCaptcha
Zend_Service_ReCaptcha::__construct()
Zend_Service_ReCaptcha::getHtml()
Zend_Service_ReCaptcha::getIp()
Zend_Service_ReCaptcha::getOption()
Zend_Service_ReCaptcha::getOptions()
Zend_Service_ReCaptcha::getParam()
Zend_Service_ReCaptcha::getParams()
Zend_Service_ReCaptcha::getPrivateKey()
Zend_Service_ReCaptcha::getPublicKey()
Zend_Service_ReCaptcha::setIp()
Zend_Service_ReCaptcha::setOption()
Zend_Service_ReCaptcha::setOptions()
Zend_Service_ReCaptcha::setParam()
Zend_Service_ReCaptcha::setParams()
Zend_Service_ReCaptcha::setPrivateKey()
Zend_Service_ReCaptcha::setPublicKey()
Zend_Service_ReCaptcha::verify()
Zend_Service_ReCaptcha::_post()
Zend_Service_ReCaptcha::__toString()
Inherited From Zend_Service_Abstract
Zend_Service_Abstract::getHttpClient()
Zend_Service_Abstract::setHttpClient()
ENCRYPTION_BLOCK_SIZE
= 16
(line 42)
Encryption constants
ENCRYPTION_CIPHER
= MCRYPT_RIJNDAEL_128
(line 41)
Encryption constants
ENCRYPTION_IV
= "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
(line 43)
Encryption constants
ENCRYPTION_MODE
= MCRYPT_MODE_CBC
(line 40)
Encryption constants
MAILHIDE_SERVER
= 'http://mailhide.recaptcha.net/d'
(line 51)
Url to the mailhide server
Inherited from Zend_Service_ReCaptcha
Zend_Service_ReCaptcha::API_SECURE_SERVER
Zend_Service_ReCaptcha::API_SERVER
Zend_Service_ReCaptcha::VERIFY_SERVER
Documentation generated on Mon, 21 Jun 2010 15:32:22 -0400 by phpDocumentor 1.4.3