protected function ModuleTemplates($module)
    {
        $folder = PathUtil::ModuleCustomTemplatesFolder($module);
        if (!Folder::Exists($folder))
        {
            return array();
        }
        $templates = Folder::GetFiles($folder);
        $result = array();
        foreach ($templates as $template)
        {
            if (Path::Extension($template) == 'phtml')
            {
                $result[] = Path::RemoveExtension($template);
            }
        }
        return $result;
    }