|
| __invoke ($mode=self::FILE, $spec=null, $placement= 'APPEND', array $attrs=[], $type= 'text/javascript') |
| Return InlineScript object.
|
|
| __construct () |
| Constructor.
|
|
| __invoke ($mode=self::FILE, $spec=null, $placement= 'APPEND', array $attrs=[], $type= 'text/javascript') |
| Return headScript object.
|
|
| __call ($method, $args) |
| Overload method access.
|
|
| toString ($indent=null) |
| Retrieve string representation.
|
|
| captureStart ($captureType=Placeholder\Container\AbstractContainer::APPEND, $type= 'text/javascript', $attrs=[]) |
| Start capture action.
|
|
| captureEnd () |
| End capture action and store.
|
|
| createData ($type, array $attributes, $content=null) |
| Create data item containing all necessary components of script.
|
|
| itemToString ($item, $indent, $escapeStart, $escapeEnd) |
| Create script HTML.
|
|
| append ($value) |
| Override append.
|
|
| prepend ($value) |
| Override prepend.
|
|
| set ($value) |
| Override set.
|
|
| offsetSet ($index, $value) |
| Override offsetSet.
|
|
| setAllowArbitraryAttributes ($flag) |
| Set flag indicating if arbitrary attributes are allowed.
|
|
| arbitraryAttributesAllowed () |
| Are arbitrary attributes allowed?
|
|
Public Member Functions inherited from AbstractStandalone |
| __construct () |
| Constructor.
|
|
| __call ($method, $args) |
| Overload.
|
|
| __set ($key, $value) |
| Overloading: set property value.
|
|
| __get ($key) |
| Overloading: retrieve property.
|
|
| __isset ($key) |
| Overloading: check if property is set.
|
|
| __unset ($key) |
| Overloading: unset property.
|
|
| __toString () |
| Cast to string representation.
|
|
| toString () |
| String representation.
|
|
| setAutoEscape ($autoEscape=true) |
| Set whether or not auto escaping should be used.
|
|
| getAutoEscape () |
| Return whether autoEscaping is enabled or disabled.
|
|
| setContainer (AbstractContainer $container) |
| Set container on which to operate.
|
|
| getContainer () |
| Retrieve placeholder container.
|
|
| deleteContainer () |
| Delete a container.
|
|
| setContainerClass ($name) |
| Set the container class to use.
|
|
| getContainerClass () |
| Retrieve the container class.
|
|
| setEscaper (Escaper $escaper) |
| Set Escaper instance.
|
|
| getEscaper ($enc= 'UTF-8') |
| Get Escaper instance.
|
|
| count () |
| Countable.
|
|
| offsetExists ($offset) |
| ArrayAccess: offsetExists.
|
|
| offsetGet ($offset) |
| ArrayAccess: offsetGet.
|
|
| offsetSet ($offset, $value) |
| ArrayAccess: offsetSet.
|
|
| offsetUnset ($offset) |
| ArrayAccess: offsetUnset.
|
|
| getIterator () |
| IteratorAggregate: get Iterator.
|
|
| setView (Renderer $view) |
| Set the View object.
|
|
| getView () |
| Get the view object.
|
|
Helper for setting and retrieving script elements for inclusion in HTML body section.