Esempio n. 1
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('action', 'string', 'Action to call on the controller, minus the "Action" suffix', TRUE);
     $this->registerArgument('controller', 'string', 'Class name of controller to call. If empty, uses current controller');
     $this->registerArgument('extensionName', 'string', 'Extension name of controller to call. If empty, uses current extension name');
 }
Esempio n. 2
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('message', 'string', 'FlashMessage message body', TRUE);
     $this->registerArgument('title', 'string', 'FlashMessage title to use', FALSE, 'Message');
     $this->registerArgument('severity', 'integer', 'Severity level, as integer', FALSE, FlashMessage::OK);
     $this->registerArgument('storeInSession', 'boolean', 'Store message in sesssion. If FALSE, message only lives in POST. Default TRUE.', FALSE, TRUE);
 }
Esempio n. 3
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('body', 'string', 'Message body. Can also be inserted as tag content');
     $this->registerArgument('subject', 'string', 'Message subject', TRUE);
     $this->registerArgument('recipient', 'string', 'Message recipient address or name+address as "Name <add@ress>"', TRUE);
     $this->registerArgument('sender', 'string', 'Message sender address or name+address as "Name <add@ress>"', TRUE);
 }
Esempio n. 4
0
 /**
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('targetType', 'string', 'Target type (class name, integer, array, etc.)', TRUE);
     $this->registerArgument('typeConverter', 'mixed', 'Class or instance of type converter. Can be a short name of a system type converter, minus "Converter" suffix, ' . 'e.g. PersistentObject, Array etc.', TRUE);
 }