/** * Returns a block of XHTML-valid code that contains markup for this specific * component. * @param string $fieldName The field name to use when outputting form data or * similar parameters/information. * @access public * @return string */ public function getMarkup($fieldName) { $this->editor->InstanceName = $fieldName; $this->editor->Value = $this->_value; $this->editor->Create(); }
/** * image method * * @param int $count * @return string - the image's content */ function image($count = 5) { $this->visualCaptcha->SetNumChars($count); return $this->visualCaptcha->Create(); }