* 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
*
// 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]