Form

  • Namespace: Redaxscript\Html
  • Description: children class to create a form
  • Package: Redaxscript
  • Category: Html
  • Author: Henry Ruhs
  • Inherited from: \Redaxscript\Html\HtmlAbstract

Properties

PropertyTypeVisibilityDescription
$_registry\Redaxscript\Registryprotectedinstance of the registry class
$_language\Redaxscript\Languageprotectedinstance of the language class
$_captchaobjectprotectedcaptcha of the form
$_languageArrayarrayprotectedlanguages of the form
$_attributeArrayarrayprotectedattributes of the form
$_optionArrayarrayprotectedoptions of the form
$_htmlstringprotectedhtml of the element
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructpublicconstructor of the class
__callpubliccall method as needed
__toStringpublicstringify the form
initpublicinit the class
legendpublicappend the legend
labelpublicappend the label
textareapublicappend the textarea
selectpublicappend the select
selectRangepublicappend the select range
captchapublicappend the captcha
tokenpublicappend the token
renderpublicrender the form
_createInputprotectedcreate the input
_createOptionprotectedcreate the option
_createButtonprotectedcreate the button
_createLinkprotectedcreate the link
htmlpublicset the html
appendpublicappend to the html
prependpublicprepend to the html
clearpublicclear the html
public$this button(string $text = null, array $attributeArray = [])
public$this cancel(string $text = null, array $attributeArray = [])
public$this checkbox(array $attributeArray = [])
public$this color(array $attributeArray = [])
public$this date(array $attributeArray = [])
public$this datetime(array $attributeArray = [])
public$this email(array $attributeArray = [])
public$this file(array $attributeArray = [])
public$this hidden(array $attributeArray = [])
public$this number(array $attributeArray = [])
public$this password(array $attributeArray = [])
public$this radio(array $attributeArray = [])
public$this range(array $attributeArray = [])
public$this reset(string $text = null, array $attributeArray = [])
public$this search(array $attributeArray = [])
public$this submit(string $text = null, array $attributeArray = [])
public$this time(array $attributeArray = [])
public$this tel(array $attributeArray = [])
public$this text(array $attributeArray = [])
public$this url(array $attributeArray = [])
public$this week(array $attributeArray = [])
MethodVisibilityDescription