public function formatTemplateFiles()
    {
        $name = $this->getName();

        $path = explode(':', $name);
     
        if (isset($path[2])) {
            $module = $path[1];
            $presenter = $path[2];
        } else {
            $module = $path[0];
            $presenter = $path[1];
        }
        
        $dir = dirname($this->getReflection()->getFileName());
        $dir = is_dir("$dir/templates") ? $dir : dirname($dir);

        $appPath = APP_DIR."/templates/".lcfirst($module)."-module/$presenter/$this->view.latte";

        return array(
            $appPath,
            "$dir/templates/$presenter/$this->view.latte",
            "$dir/templates/$presenter.$this->view.latte",
            "$dir/templates/$presenter/$this->view.phtml",
            "$dir/templates/$presenter.$this->view.phtml",
        );
    }