* 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;
+
/**
* Instance of an RNG
*/
protected final function getRngInstance () {
return $this->rngInstance;
}
+
+ /**
+ * 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]