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