public function getDefinitionFile($name = null) { if (!$name) { $name = $this->getName(); } $file = PIMCORE_CLASS_DIRECTORY . "/definition_" . $name . ".php"; return $file; }