/** * Register arguments. * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('query', 'string|array', 'Solr querystring or array of query fields and their query values.', TRUE); $this->registerArgument('operator', 'string', 'Solr query operator.', FALSE, 'AND'); $this->registerArgument('sortField', 'string', 'Sort field.', FALSE); $this->registerArgument('sortOrder', 'string', 'Sort order ("asc" or "desc").', FALSE, 'asc'); $this->registerArgument('rows', 'integer', 'Number of rows to be returned.', FALSE); $this->registerArgument('fields', 'string', 'Fields to be returned, comma seperated if more than one field.', FALSE); }
/** * Initialize arguments * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('identifier', 'string', 'Identity of this condition - if used in other places, the condition applies to the same identity in the ' . 'storage (i.e. cookie name or session key)'); $this->registerArgument('lockToDomain', 'boolean', 'If TRUE, locks this condition to a specific domain, i.e. the storage of $identity is associated with ' . 'a domain. If same identity is also used without domain lock, it matches any domain locked condition', false, false); $this->registerArgument('ttl', 'integer', 'Time-to-live for skip registration, number of seconds. After this expires the registration is unset', false, 86400); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('pattern', 'string', 'regex pattern to match string against', TRUE); $this->registerArgument('string', 'string', 'string to match with the regex pattern', TRUE); $this->registerArgument('global', 'boolean', 'match global', FALSE, FALSE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('pageUid', 'integer', 'value to check', FALSE, NULL); $this->registerArgument('includeHidden', 'boolean', 'include hidden pages', FALSE, FALSE); $this->registerArgument('showHiddenInMenu', 'boolean', 'include pages hidden in menu', FALSE, FALSE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('pageUid', 'integer', 'Parent page to check', false, null); $this->registerArgument('includeHidden', 'boolean', 'DEPRECATED: Include hidden pages', false, false); $this->registerArgument('includeAccessProtected', 'boolean', 'Include access protected pages', false, false); $this->registerArgument('includeHiddenInMenu', 'boolean', 'Include pages hidden in menu', false, false); $this->registerArgument('showHiddenInMenu', 'boolean', 'DEPRECATED: Use includeHiddenInMenu', false, false); }
public function initializeArguments() { $this->registerArgument('newsItem', 'object', 'News item', false); parent::initializeArguments(); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('value', 'mixed', 'value to check', TRUE); $this->registerArgument('class', 'mixed', 'className to check against', TRUE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('name', 'string', 'name of the variable', true); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('extensionName', 'string', 'Name of extension that must be loaded in order to evaluate as TRUE, UpperCamelCase', TRUE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('haystack', 'string', 'haystack', TRUE); $this->registerArgument('needle', 'string', 'need', TRUE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('value', 'string', 'value to check', TRUE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('string', 'string', 'string to check', TRUE); $this->registerArgument('fullString', 'string', 'need', FALSE, FALSE); }
/** * Initialize arguments * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('file', 'string', 'Filename which must exist to trigger f:then rendering', FALSE); $this->registerArgument('directory', 'string', 'Directory which must exist to trigger f:then rendering', FALSE); }
public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('domainObject', 'object', '', true); $this->registerArgument('renderCondition', 'string', '', true); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('string', 'string', 'string to check', true); $this->registerArgument('fullString', 'string', 'need', false, false); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('pageUid', 'integer', 'value to check', false, null); $this->registerArgument('respectSiteRoot', 'boolean', 'value to check', false, false); }
/** * Initialize all arguments. You need to override this method and call * $this->registerArgument(...) inside this method, to register all your arguments. * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('condition', 'mixed', 'View helper condition expression, evaled', TRUE); }
/** * Register arguments. * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('highlighting', 'array', 'Result array with highlighting per document', TRUE); $this->registerArgument('id', 'string', 'document id to check', TRUE); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('language', 'string', 'language to check', true); $this->registerArgument('defaultTitle', 'string', 'title of the default language', false, 'en'); }
/** * Initialize arguments */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('value', 'mixed', 'value to check', true); }
/** * Registers own arguments. */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('haystacks', 'string|array', 'Haystack to search', TRUE); $this->registerArgument('needle', 'string', 'Needle to be searched', TRUE); }