• API
  • -
  • Redaxscript\Html

Element

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

Properties

PropertyTypeVisibilityDescription
$_tagstringprotectedtag of the element
$_singletonTagsarrayprotectedarray of singleton tags
$_attributeArrayarrayprotectedattributes of the element
$_htmlstringprotectedhtml of the element
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__toStringpublicstringify the element
initpublicinit the class
copypubliccopy the element
attrpublicset attribute to the element
removeAttrpublicremove attribute from the element
addClasspublicadd class to the element
removeClasspublicremove class from the element
_editClassprotectededit class helper
valpublicset value to the element
textpublicset text to the element
renderpublicrender the element
htmlpublicset the html
appendpublicappend to the html
prependpublicprepend to the html
clearpublicclear the html
MethodVisibilityDescription

Form

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

Properties

PropertyTypeVisibilityDescription
$_registryobjectprotectedinstance of the registry class
$_languageobjectprotectedinstance 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
buttonpublic
cancelpublic
checkboxpublic
colorpublic
datepublic
datetimepublic
emailpublic
filepublic
hiddenpublic
numberpublic
passwordpublic
radiopublic
rangepublic
resetpublic
searchpublic
submitpublic
timepublic
telpublic
textpublic
urlpublic
weekpublic
MethodVisibilityDescription

HtmlAbstract

  • Namespace: Redaxscript\Html
  • Description: abstract class to create html
  • Package: Redaxscript
  • Category: Html
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_htmlstringprotectedhtml of the element
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
htmlpublicset the html
appendpublicappend to the html
prependpublicprepend to the html
clearpublicclear the html
MethodVisibilityDescription