/** * Return file path in file system * * @param bool $fullPath * @return string|bool */ public function getFilePath($fullPath = false) { if (!$this->getId()) { return false; } $filePath = $this->getThemeId() . DIRECTORY_SEPARATOR . $this->getFileName(); if ($fullPath) { $filePath = $this->_design->getCustomizationDir() . DIRECTORY_SEPARATOR . $filePath; } return $filePath; }