12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?php
- abstract class Text_CAPTCHA_Driver_Base implements Text_CAPTCHA_Driver
- {
-
- private $_captcha;
-
- private $_phrase;
-
- public final function setPhrase($phrase)
- {
- $this->_phrase = $phrase;
- }
-
- public final function getPhrase()
- {
- return $this->_phrase;
- }
-
- protected final function setCaptcha($captcha)
- {
- $this->_captcha = $captcha;
- }
-
- public final function getCAPTCHA()
- {
- return $this->_captcha;
- }
-
- public function resetDriver()
- {
- $this->setPhrase(null);
- $this->setCaptcha(null);
- }
- }
|