public function getPath() { $path = ROOT . DS . $this->pathFragment; if (isset($this->plugin)) { $path = $this->_pluginPath($this->plugin) . $this->pathFragment; } return str_replace('/', DS, $path); }