Note: building of all Assets takes place in the class
FluidTYPO3\Vhs\Service\AssetService with two reasons:
- A "buildAll" method should never be possible to call
from any Asset ViewHelper; it should only be possible
from a single class.
- The method but must be public and non-static and thus
cannot be hidden from access by subclasses if placed
in this class.
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('domains', 'mixed', 'Domain DNS names to prefetch. By default will add all sys_domain record DNS names', true); $this->registerArgument('protocol', 'string', 'Optional value of protocol as inserted in the resulting HREF value. If you experience problems with ' . 'a non-protocol link, try enforcing http/https here'); $this->registerArgument('protocolSeparator', 'string', 'If you do not enforce a particular protocol and wish to remove the double slashes from the hostname ' . '(your browser may not understand this!), set this attribute to an empty value (not-zero)', false, '//'); $this->registerArgument('force', 'boolean', 'If TRUE, adds an additional meta header tag which forces prefetching to be enabled even if otherwise ' . 'requested by the http daemon', false, false); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->overrideArgument('standalone', 'boolean', 'If TRUE, excludes this Asset from any concatenation which may be applied', FALSE, TRUE); }