Script

  • Namespace: Redaxscript\Head
  • Description: children class to create the script tag
  • Package: Redaxscript
  • Category: Head
  • Author: Henry Ruhs
  • Inherited from: \Redaxscript\Head\HeadAbstract

Properties

PropertyTypeVisibilityDescription
$_optionArraystringprotectedoptions of the script
$_inlinestringprotectedinline script
$_namespacestringprotectedcollection namespace
$_collectionArrayarrayprotectedcollection of the head
$_instancearrayprotectedinstance of the class
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
appendFilepublicappend script file
prependFilepublicprepend script file
removeFilepublicremove script file
appendInlinepublicappend inline script
prependInlinepublicprepend inline script
transportVarpublictransport javascript variables
concatpublicconcat the script
renderpublicrender the script
clearpublicclear the script
__toStringpublicstringify the collection
initpublicinit the class
appendpublicappend to the collection
prependpublicprepend to the collection
removepublicremove from to the collection
clearpublicclear the collection
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
appendpublic
prependpublic
MethodVisibilityDescription