initializeArguments() публичный Метод

public initializeArguments ( ) : void
Результат void
Пример #1
0
 /**
  * @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);
 }