Beispiel #1
0
 /**
  * Initialize arguments
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('path', 'string', 'The path and filename of the resource (relative to Public resource directory of the extension).', true);
     $this->registerArgument('extensionName', 'string', 'Target extension name. If not set, the current extension name will be used');
     $this->registerArgument('absolute', 'bool', 'If set, an absolute URI is rendered', false, false);
 }
Beispiel #2
0
 /**
  * Initialize arguments.
  *
  * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('decimals', 'int', 'The number of digits after the decimal point', false, '2');
     $this->registerArgument('decimalSeparator', 'string', 'The decimal point character', false, '.');
     $this->registerArgument('thousandsSeparator', 'string', 'The character for grouping the thousand digits', false, ',');
 }
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('section', 'integer', 'Section Number', false, 0);
     $this->registerArgument('row', 'integer', 'Row Number', false, 0);
     $this->registerArgument('column', 'integer', 'Column Number', false, 0);
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('haystack', 'array', 'Array to search', TRUE);
     $this->registerArgument('needle', 'string', 'Needle to search', TRUE);
     $this->registerArgument('strict', 'boolean', 'Strict mode?', FALSE, FALSE);
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('url', 'string', 'The URL to query', FALSE, NULL);
     $this->registerArgument('data', 'object', 'The object representaion of the data send to the server', FALSE, NULL);
     $this->registerArgument('type', 'string', 'Use get or post to query data', FALSE, NULL);
 }
 /**
  * Registers own arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('format', 'string', 'The linked data format to create', false, 'turtle');
     $this->registerArgument('prefixes', 'array', 'The namespace names to use', false, []);
     $this->registerArgument('name', 'string', 'The name of the template variable to store the data in', false, 'linkedDataContainer');
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('data', 'array', 'The data checked against the blacklist', TRUE, NULL);
     $this->registerArgument('blacklist', 'array', 'The blacklist to be parsed', TRUE, NULL);
     $this->registerArgument('blacklistOnKeys', 'boolean', 'Blacklist on array values (default: false) or array keys (true)', FALSE, FALSE);
 }
Beispiel #8
0
 /**
  * Initializes the arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('controller', 'string', 'The "controller" of scheduler. Possible values are "scheduler", "check", "info"', true);
     $this->registerArgument('action', 'string', 'The action to be called within each controller', true);
     $this->registerArgument('arguments', 'array', '', false, []);
 }
 /**
  * Registers own arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('data', 'array', 'The array to output as CSV line', false, null);
     $this->registerArgument('fieldDelimiter', 'string', 'The string to use as a column separator', false, ',');
     $this->registerArgument('fieldEnclosure', 'string', 'The string to enclose the field content in', false, '"');
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('string', 'string', 'The string to split into components', TRUE, NULL);
     $this->registerArgument('lengths', 'string', 'The lengths seperated, by an "," to seperate the string', TRUE);
     $this->registerArgument('placeholder', 'string', 'The string that is used to mark a offset as not used', FALSE, '|');
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('data', 'array', 'The data to test', FALSE, NULL);
     $this->registerArgument('key', 'string', 'The data to test', FALSE, NULL);
     $this->registerArgument('activeFacets', 'array', 'The data to test', FALSE, NULL);
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('record', '\\File_MARC_Record|boolean', 'The decoded MARC record', FALSE, NULL);
     $this->registerArgument('path', 'string', 'The MARC path', FALSE, NULL);
     $this->registerArgument('index', 'integer', 'If return data might be an array, define which index should be returned', FALSE, NULL);
 }
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('parameter', 'string', 'Target used for external links', TRUE);
     $this->registerArgument('parameterStdWrap', 'array', 'Target used for external links');
     $this->registerArgument('useCacheHash', 'array', 'Target used for external links', FALSE, TRUE);
     $this->registerArgument('extTarget', 'string', 'Target used for external links');
     $this->registerArgument('extTargetStdWrap', 'array', 'stdWrap');
     $this->registerArgument('fileTarget', 'string', 'Target used for file links');
     $this->registerArgument('fileTargetStdWrap', 'array', 'stdWrap');
     $this->registerArgument('target', 'string', 'Target used for internal links');
     $this->registerArgument('targetStdWrap', 'array', 'stdWrap');
     $this->registerArgument('additionalParams', 'array', 'This is parameters that are added to the end of the URL.');
     $this->registerArgument('additionalParamsStdWrap', 'array', 'stdWrap, eg.: {data: "TSFE : id"}');
     $this->registerArgument('forceAbsoluteUrl', 'boolean', 'Forces links to internal pages to be absolute, thus having a proper URL scheme and domain prepended.');
     $this->registerArgument('forceAbsoluteUrlArray', 'array', 'forceAbsoluteUrl settings');
     $this->registerArgument('addQueryString', 'boolean', 'Add the QUERY_STRING to the start of the link.');
     $this->registerArgument('addQueryStringArray', 'array', 'addQueryString settings');
     $this->registerArgument('jumpurl', 'boolean', 'Decides if the link should call the script with the jumpurl parameter in order to register any clicks in statistics.');
     $this->registerArgument('jumpurlArray', 'array', 'jumpurl settings');
     $this->registerArgument('wrap', 'string', 'Wraps the links.');
     $this->registerArgument('wrapStdWrap', 'array', 'stdWrap');
     $this->registerArgument('ATagBeforeWrap', 'string', 'If set, the link is first wrapped with ".wrap" and then the A-tag.');
     $this->registerArgument('ATagBeforeWrapStdWrap', 'array', 'stdWrap');
     $this->registerArgument('linkAccessRestrictedPages', 'boolean', 'If set, typolinks pointing to access restricted pages will still link to the page even though the page cannot be accessed.');
     $this->registerArgument('userFunc', 'string', 'This passes the link-data compiled by the typolink function to a user- defined function for final manipulation.');
 }
Beispiel #14
0
 /**
  * Initialize the arguments.
  *
  * @return void
  * @internal
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('renderable', RootRenderableInterface::class, 'A RootRenderableInterface instance', true);
     $this->registerArgument('as', 'string', 'The name within the template', false, 'formValue');
     $this->registerArgument('formRuntime', FormRuntime::class, 'A FormRuntime instance', false, null);
 }
 /**
  * Register arguments.
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('prefix', 'string', 'prefix', TRUE);
     $this->registerArgument('prefixSprint', 'string', 'prefix sprintf string', TRUE);
     $this->registerArgument('array', 'array', 'values', TRUE);
 }
Beispiel #16
0
 /**
  * Initializes the arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('permission', 'int', 'Current permission', true);
     $this->registerArgument('scope', 'string', '"user" / "group" / "everybody"', true);
     $this->registerArgument('pageId', 'int', '', true);
 }
 /**
  *
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('renderLink', 'bool', 'If true the image is wrapped with a link if one is configured in the file reference', false, true);
     $this->registerArgument('maxHeight', 'int', 'maximum height', false, PHP_INT_MAX);
     $this->registerArgument('maxWidth', 'int', 'maximum width', false, PHP_INT_MAX);
 }
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('partial', 'string', 'Partial to render, with or without section');
     $this->registerArgument('section', 'string', 'Section', false, NULL);
     $this->registerArgument('arguments', 'array', 'Array of variables to be transferred. Use {_all} for all variables', FALSE, array());
 }
 /**
  * Registers own arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('string', 'string', 'The string to work on; if not given, the content of the tag is used', false, null);
     $this->registerArgument('match', 'string', 'The regular expression used for matching', true);
     $this->registerArgument('replace', 'string', 'The regular expression replacement string', false, null);
     $this->registerArgument('useMBEreg', 'boolean', 'Whether to use mb_ereg_replace() instead of preg_replace()', false, false);
 }
 /**
  * Register arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('facetID', 'string', 'ID of the facet to determine the selection status of', true);
     $this->registerArgument('facetTerm', 'string', 'Term of the facet item to determine the selection status of; if NULL any facet with the given facetID matches', false, null);
     $this->registerArgument('activeFacets', 'array', 'Array of active facets', false, []);
     $this->registerArgument('type', 'string', 'Query type [string, range]', false, 'string');
 }
Beispiel #21
0
 /**
  * Initialize arguments.
  *
  * @return void
  * @internal
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('element', RootRenderableInterface::class, 'Form Element to translate', true);
     $this->registerArgument('property', 'string', 'Property to translate', false);
     $this->registerArgument('renderingOptionProperty', 'string', 'Property to translate', false);
     $this->registerArgument('formRuntime', FormRuntime::class, 'The form runtime', false);
 }
 /**
  * Initialize the arguments.
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('extensionName', 'string', 'By default labels will be loaded from the request\'s current extension. Can be overwritten by this attribute.', FALSE);
     $this->registerArgument('limitUnits', 'integer', 'Limit the amount of displayed units', FALSE, 99);
     $this->registerArgument('precision', 'string', 'By default the timespan will be diplayed accurately down to the second. Provide "year", "month", "day", "hour" or "minute" to lower the precision.', FALSE, 'second');
     $this->registerArgument('reference', \DateTime::class, 'The reference time, can also be passed as child content', FALSE);
 }
Beispiel #23
0
 /**
  * Add the new 'classItem' option.
  *
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('classItem', 'string', 'Optional extra class to add to each link (and wrapper) element. Use ' . ':level in the class name to add the current level number to the class.');
     for ($i = 2; $i <= 10; $i++) {
         $this->registerArgument('classItem' . $i, 'string', 'Optional extra class to add to each link (and wrapper) element (level ' . $i . '. Use ' . ':level in the class name to add the current level number to the class.');
     }
 }
Beispiel #24
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('maximumNumberOfResultPages', 'int', '', true);
     $this->registerArgument('numberOfResults', 'int', '', true);
     $this->registerArgument('resultsPerPage', 'int', '', true);
     $this->registerArgument('currentPage', 'int', '', false, 0);
     $this->registerArgument('freeIndexUid', 'int', '');
 }
 /**
  * Registers own arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('currentPage', 'int', 'number of the current page', false, 1);
     $this->registerArgument('resultCount', 'int', 'total number of results', true);
     $this->registerArgument('perPage', 'int', 'number of results per page', false, 10);
     $this->registerArgument('adjacentPages', 'int', 'number of neighbours of the current page to show', false, 3);
     $this->registerArgument('minimumGapSize', 'int', 'gaps of fewer items than this are filles', false, 2);
 }
Beispiel #26
0
 /**
  * Initialize arguments.
  *
  * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('message', 'string', 'The message of the info box, if NULL tag content is used');
     $this->registerArgument('title', 'string', 'The title of the info box');
     $this->registerArgument('state', 'int', 'The state of the box, InfoboxViewHelper::STATE_*', false, self::STATE_NOTICE);
     $this->registerArgument('iconName', 'string', 'The icon name from font awesome, NULL sets default icon');
     $this->registerArgument('disableIcon', 'bool', 'If set to TRUE, the icon is not rendered.', false, false);
 }
Beispiel #27
0
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('subject', 'string', 'The triple’s subject', true);
     $this->registerArgument('predicate', 'string', 'The triple’s predicate', true);
     $this->registerArgument('object', 'string', 'The triple’s object', false, null);
     $this->registerArgument('objectType', 'string', 'Type of the triple’s object', false, null);
     $this->registerArgument('language', 'string', 'ISO 639-1 language code for the triple’s object', false, null);
     $this->registerArgument('name', 'string', 'The name of the template variable to store the data in', false, 'linkedDataContainer');
 }
 /**
  * Registers own arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('values', 'array', 'values array for a facet', false, []);
     $this->registerArgument('showCount', 'boolean', 'include the item count for the facet in the label?', false, false);
     $this->registerArgument('leadingBlank', 'boolean', 'begin the select with a blank item? (for jquery.chosen)', false, false);
     $this->registerArgument('sortByName', 'boolean', 'sort the items alphabetically?', false, false);
     $this->registerArgument('sortPrefixSeparator', 'string', 'sort the whole string but only keep the part after the separator for display', false, null);
     $this->registerArgument('localisationPrefix', 'string', 'prefix for the localisation key', false, '');
 }
 /**
  * Register arguments.
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('name', 'string', 'name of template variable to assign the result to', false, null);
     $this->registerArgument('array', 'array', 'existing array to add the new keys and values to', false, []);
     $this->registerArgument('keys', 'array', 'array of keys', false, null);
     $this->registerArgument('values', 'array', 'array of values', false, []);
     $this->registerArgument('global', 'boolean', 'whether to make the variable available to all templates coming afterwards', false, false);
     $this->registerArgument('omitEmptyFields', 'boolean', 'omits empty fields', false, false);
 }
Beispiel #30
0
 /**
  * Initialize arguments
  *
  * @return void
  * @api
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('addQueryStringMethod', 'string', 'Method to be used for query string');
     $this->registerArgument('action', 'string', 'Target action');
     $this->registerArgument('arguments', 'array', 'Arguments', false, []);
     $this->registerArgument('section', 'string', 'The anchor to be added to the URI', false, '');
     $this->registerArgument('format', 'string', 'The requested format, e.g. ".html', false, '');
     $this->registerArgument('ajax', 'bool', 'TRUE if the URI should be to an AJAX widget, FALSE otherwise.', false, false);
 }