SlotsHelper::stop()

stop() Stops a slot. Exceptions LogicException if no slot has been started

SlotsHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

SlotsHelper::has()

bool has(string $name) Returns true if the slot exists. Parameters string $name The slot name Return Value bool

SlotsHelper::start()

start(string $name) Starts a new slot. This method starts an output buffer that will be closed when the stop() method is called. Parameters string $name The slot name Exceptions InvalidArgumentException if a slot with the same name is already started

SlotsHelper::output()

bool output(string $name, bool|string $default = false) Outputs a slot. Parameters string $name The slot name bool|string $default The default slot content Return Value bool true if the slot is defined or if a default content has been provided, false otherwise

SlotsHelper

class SlotsHelper extends Helper SlotsHelper manages template slots. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper start(string $name) Starts a new slot. stop() Stops a slot. bool has(string $name) Returns true if the slot exists. string get(string $name, bool|string $default = false) Gets the slot value. set(string $name, string $content) Sets a slot value. bool output(

SimpleXMLElement deprecated::getAttributeAsPhp()

mixed getAttributeAsPhp(string $name) Converts an attribute as a PHP type. Parameters string $name Return Value mixed

SimpleXMLElement deprecated

class SimpleXMLElement extends SimpleXMLElement deprecated since version 2.5, to be removed in 3.0. SimpleXMLElement class. Methods mixed getAttributeAsPhp(string $name) Converts an attribute as a PHP type. mixed getArgumentsAsPhp(string $name, bool $lowercase = true) Returns arguments as valid PHP types. static mixed phpize(mixed $value) Converts an xml value to a PHP type. Details mixed getAttributeAsPhp(string $name) Converts a

SimpleXMLElement deprecated::phpize()

static mixed phpize(mixed $value) Converts an xml value to a PHP type. Parameters mixed $value Return Value mixed

SimpleXMLElement deprecated::getArgumentsAsPhp()

mixed getArgumentsAsPhp(string $name, bool $lowercase = true) Returns arguments as valid PHP types. Parameters string $name bool $lowercase Return Value mixed