コード例 #1
0
ファイル: MailHide.php プロジェクト: codercv/urbansurprisedev
 /**
  * Override the setPrivateKey method
  *
  * Override the parent method to store a binary representation of the private key as well.
  *
  * @param string $privateKey
  * @return Zend_Service_ReCaptcha_MailHide
  */
 public function setPrivateKey($privateKey)
 {
     parent::setPrivateKey($privateKey);
     /* Pack the private key into a binary string */
     $this->_privateKeyPacked = pack('H*', $this->_privateKey);
     return $this;
 }