/**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'string', 'Value to format', FALSE, NULL);
     $this->registerArgument('keepQuotes', 'boolean', 'If TRUE quotes will not be replaced (ENT_NOQUOTES)', FALSE, FALSE);
     $this->registerArgument('encoding', 'string', 'Encoding', FALSE, 'UTF-8');
     $this->registerArgument('doubleEncode', 'boolean', 'If FALSE html entities will not be encoded', FALSE, TRUE);
 }
Ejemplo n.º 2
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('section', 'string', 'Section to render - combine with partial to render section in partial', FALSE, NULL);
     $this->registerArgument('partial', 'string', 'Partial to render, with or without section', FALSE, NULL);
     $this->registerArgument('arguments', 'array', 'Array of variables to be transferred. Use {_all} for all variables', FALSE, array());
     $this->registerArgument('optional', 'boolean', 'If TRUE, considers the *section* optional. Partial never is.', FALSE, FALSE);
 }
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('each', 'array', 'The array or \\SplObjectStorage to iterated over', TRUE);
     $this->registerArgument('as', 'string', 'The name of the iteration variable', TRUE);
     $this->registerArgument('groupBy', 'string', 'Group by this property', TRUE);
     $this->registerArgument('groupKey', 'string', 'The name of the variable to store the current group', FALSE, 'groupKey');
 }
Ejemplo n.º 4
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('each', 'array', 'The array or \\SplObjectStorage to iterated over', TRUE);
     $this->registerArgument('as', 'string', 'The name of the iteration variable', TRUE);
     $this->registerArgument('key', 'string', 'Variable to assign array key to', TRUE);
     $this->registerArgument('reverse', 'boolean', 'If TRUE, iterates in reverse', FALSE, FALSE);
     $this->registerArgument('iteration', 'string', 'Name of iteration variable to assign', FALSE, NULL);
 }
Ejemplo n.º 5
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('map', 'array', 'Array that specifies which variables should be mapped to which alias', TRUE);
 }
Ejemplo n.º 6
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'mixed', 'Value to match in this case', TRUE);
 }
Ejemplo n.º 7
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('subject', 'array', 'Countable subject, array or \\Countable', FALSE, NULL);
 }
Ejemplo n.º 8
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('arguments', 'array', 'The arguments for vsprintf', FALSE, array());
     $this->registerArgument('value', 'string', 'String to format', FALSE, FALSE);
 }
Ejemplo n.º 9
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('expression', 'mixed', 'Expression to switch', TRUE);
 }
Ejemplo n.º 10
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('values', 'array', 'The array or object implementing \\ArrayAccess (for example \\SplObjectStorage) to iterated over', FALSE);
     $this->registerArgument('as', 'strong', 'The name of the iteration variable', TRUE);
 }
Ejemplo n.º 11
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('typeOnly', 'boolean', 'If TRUE, debugs only the type of variables', FALSE, FALSE);
 }