예제 #1
0
 public function setOptions($parameters)
 {
     parent::setOptions($parameters);
     $this->options = array_merge($this->options, ['label' => isset($parameters['label']) ? $parameters['label'] : 'batch.delete.label', 'confirmMessage' => isset($parameters['confirmMessage']) ? $parameters['confirmMessage'] : 'batch.delete.message.confirm', 'translationDomain' => isset($parameters['translationDomain']) ? $parameters['translationDomain'] : 'EnhavoAppBundle']);
 }
예제 #2
0
파일: SendBatch.php 프로젝트: enhavo/enhavo
 public function setOptions($parameters)
 {
     parent::setOptions($parameters);
     $this->options = array_merge($this->options, ['label' => isset($parameters['label']) ? $parameters['label'] : 'newsletter.batch.action.send', 'confirmMessage' => isset($parameters['confirmMessage']) ? $parameters['confirmMessage'] : 'newsletter.batch.message.confirm.send', 'translationDomain' => isset($parameters['translationDomain']) ? $parameters['translationDomain'] : 'EnhavoNewsletterBundle', 'permission' => isset($parameters['permission']) ? $parameters['permission'] : 'ROLE_ENHAVO_NEWSLETTER_NEWSLETTER_SEND']);
 }