protected function getFormatters() { $objects = $this->getObjects('/formatter'); $formatters = []; foreach ($objects as $object) { $name = Tools::className($object); $formatters[strtolower($name)] = __($name); } return $formatters; }
public function init() { parent::init(); // Prepare Filename $this->filename = Inflector::underscore(Tools::className($this)) . '_' . date('Y-m-d'); }