Exemplo n.º 1
1
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /**
  * 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);
 }
Exemplo n.º 4
0
 /**
  * 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);
 }
Exemplo n.º 5
0
 /**
  * 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);
 }
Exemplo n.º 6
0
 public function initializeArguments()
 {
     $this->registerArgument('newsItem', 'object', 'News item', false);
     parent::initializeArguments();
 }
Exemplo n.º 7
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'mixed', 'value to check', TRUE);
     $this->registerArgument('class', 'mixed', 'className to check against', TRUE);
 }
Exemplo n.º 8
0
 /**
  * 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);
 }
Exemplo n.º 10
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('haystack', 'string', 'haystack', TRUE);
     $this->registerArgument('needle', 'string', 'need', TRUE);
 }
Exemplo n.º 11
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'string', 'value to check', TRUE);
 }
Exemplo n.º 12
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('string', 'string', 'string to check', TRUE);
     $this->registerArgument('fullString', 'string', 'need', FALSE, FALSE);
 }
Exemplo n.º 13
0
 /**
  * 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);
 }
Exemplo n.º 14
0
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('domainObject', 'object', '', true);
     $this->registerArgument('renderCondition', 'string', '', true);
 }
Exemplo n.º 15
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('string', 'string', 'string to check', true);
     $this->registerArgument('fullString', 'string', 'need', false, false);
 }
Exemplo n.º 16
0
 /**
  * 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);
 }
Exemplo n.º 19
0
 /**
  * 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');
 }
Exemplo n.º 20
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('value', 'mixed', 'value to check', true);
 }
Exemplo n.º 21
0
 /**
  * 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);
 }