Esempio n. 1
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('typeOnly', 'boolean', 'If TRUE, debugs only the type of variables', FALSE, FALSE);
     $this->registerArgument('levels', 'integer', 'Levels to render when rendering nested objects/arrays', FALSE, 5);
     $this->registerArgument('html', 'boolean', 'Render HTML. If FALSE, output is indented plaintext', FALSE, FALSE);
 }
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'string', 'Value to format');
     $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);
 }
Esempio n. 3
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('groupBy', 'string', 'Group by this property', TRUE);
     $this->registerArgument('groupKey', 'string', 'The name of the variable to store the current group', FALSE, 'groupKey');
 }
Esempio n. 4
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);
     $this->registerArgument('default', 'mixed', 'Value (usually string) to be displayed if the section or partial does not exist', FALSE, NULL);
 }
Esempio n. 5
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', FALSE);
     $this->registerArgument('reverse', 'boolean', 'If TRUE, iterates in reverse', FALSE, FALSE);
     $this->registerArgument('iteration', 'string', 'The name of the variable to store iteration information (index, cycle, isFirst, isLast, isEven, isOdd)', FALSE, NULL);
 }
Esempio n. 6
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);
 }
Esempio n. 7
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, []);
     $this->registerArgument('optional', 'boolean', 'If TRUE, considers the *section* optional. Partial never is.', false, false);
     $this->registerArgument('default', 'mixed', 'Value (usually string) to be displayed if the section or partial does not exist', false, null);
     $this->registerArgument('contentAs', 'string', 'If used, renders the child content and adds it as a template variable with this name for use in the partial/section', false, null);
 }
Esempio n. 8
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('name', 'string', 'Name of the field', FALSE, NULL);
     $this->registerArgument('control', 'string', 'Specifies the control to use to render this field', FALSE, 'Text');
     $this->registerArgument('value', 'mixed', 'Value of the form field', FALSE, NULL);
     $this->registerArgument('placeholder', 'mixed', 'Placeholder for the input', FALSE, NULL);
     $this->registerArgument('wrap', 'string', 'Specifies the wrap used to render the field', FALSE, 'Default');
     $this->registerArgument('class', 'string', 'control class', FALSE, 'form-control');
     $this->registerArgument('required', 'boolean', 'Specifies, if this form field is required', FALSE, FALSE);
     $this->registerArgument('arguments', 'array', 'additional arguments for the control', FALSE, array());
     $this->registerArgument('label', 'string', 'custom label for the field', FALSE, NULL);
 }
Esempio n. 9
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('partial', 'string', 'Partial to render, with or without section');
     $this->registerArgument('arguments', 'array', 'Array of variables to be transferred. Use {_all} for all variables', FALSE, array());
 }
Esempio n. 10
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);
 }
Esempio n. 11
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('expression', 'mixed', 'Expression to switch', TRUE);
 }
Esempio n. 12
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('map', 'array', 'Array that specifies which variables should be mapped to which alias', true);
 }
Esempio n. 13
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);
 }
Esempio n. 14
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('typeOnly', 'boolean', 'If TRUE, debugs only the type of variables', FALSE, FALSE);
 }
Esempio n. 15
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('string', 'string', 'String', FALSE, NULL);
     $this->registerArgument('suffix', 'string', 'Suffix');
 }
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('path', 'string', 'The Path', true, null);
     $this->registerArgument('package', 'string', 'The Package', false, null);
 }
Esempio n. 17
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('className', 'string', 'Classname', FALSE, NULL);
 }
Esempio n. 18
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'mixed', 'Value to match in this case', TRUE);
 }
Esempio n. 19
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('section', 'string', 'Section to render - combine with partial to render section in partial');
     $this->registerArgument('partial', 'string', 'Partial to render, with or without section');
     $this->registerArgument('delegate', 'string', 'Optional PHP class name of a permanent, included-in-app ParsedTemplateInterface implementation to override partial/section');
     $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);
     $this->registerArgument('default', 'mixed', 'Value (usually string) to be displayed if the section or partial does not exist');
     $this->registerArgument('contentAs', 'string', 'If used, renders the child content and adds it as a template variable with this name for use in the partial/section');
 }
Esempio n. 20
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('subject', 'array', 'Countable subject, array or \\Countable');
 }
Esempio n. 21
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('prefix', 'string', 'Set Prefix', FALSE, NULL);
     $this->registerArgument('name', 'string', 'name to prefix', FALSE, NULL);
 }
Esempio n. 22
0
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('name', 'string', 'name of the block');
 }