Exemplo n.º 1
0
 public function getPotentialMessage()
 {
     $message = parent::getPotentialMessage();
     $imageTypes = array_map('strtoupper', $this->options[self::OPTION_ALLOWED_IMAGES]);
     $message->setVariables(array('image_types' => implode(', ', $imageTypes)));
     return $message;
 }
Exemplo n.º 2
0
 public function getPotentialMessage()
 {
     $message = parent::getPotentialMessage();
     $fileExtensions = array_map('strtoupper', $this->options[self::OPTION_ALLOWED_EXTENSIONS]);
     $message->setVariables(array('file_extensions' => implode(', ', $fileExtensions)));
     return $message;
 }