Introduced new setter/getter and generic interface:
[core.git] / inc / classes / main / helper / captcha / class_BaseCaptcha.php
index 72930291611c5e64cc9922867a52247691cacf64..313ef4c69b9c75c99d67e1c59700f0bc7eea0000 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseCaptcha extends BaseHelper {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseCaptcha extends BaseHelper {
-       /**
-        * A helper instance for the form
-        */
-       private $helperInstance = null;
-
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
@@ -48,25 +43,6 @@ class BaseCaptcha extends BaseHelper {
                // Get an RNG from factory
                $this->setRngInstance(ObjectFactory::createObjectByConfiguredName('rng_class', array($extraInstance)));
        }
                // Get an RNG from factory
                $this->setRngInstance(ObjectFactory::createObjectByConfiguredName('rng_class', array($extraInstance)));
        }
-
-       /**
-        * Setter for helper instance
-        *
-        * @param       $helperInstance         An instance of a helper class
-        * @return      void
-        */
-       protected final function setHelperInstance (HelpableTemplate $helperInstance) {
-               $this->helperInstance = $helperInstance;
-       }
-
-       /**
-        * Getter for helper instance
-        *
-        * @return      $helperInstance         An instance of a helper class
-        */
-       public final function getHelperInstance () {
-               return $this->helperInstance;
-       }
 }
 
 // [EOF]
 }
 
 // [EOF]