protected function getTemplateFiles($file)
    {
        $module_id = $this->theme;

        if (strpos($file, '|') !== false) {
            list($module_id, $file) = explode('|', $file, 2);
        } else if (gplcart_path_is_absolute($file)) {
            $template = substr($file, 0, (strrpos($file, '.')));
            return array($template, $template);
        }

        return array(
            GC_DIR_MODULE . "/$module_id/templates/$file",
            GC_DIR_MODULE . "/{$this->theme}/override/templates/$module_id/$file"
        );
    }
protected function getTemplateFiles($file)
    {
        $module_id = $this->theme;

        if (strpos($file, '|') !== false) {
            list($module_id, $file) = explode('|', $file, 2);
        } else if (gplcart_path_is_absolute($file)) {
            $template = substr($file, 0, (strrpos($file, '.')));
            return array($template, $template);
        }

        return array(
            GC_DIR_MODULE . "/$module_id/templates/$file",
            GC_DIR_MODULE . "/{$this->theme}/override/templates/$module_id/$file"
        );
    }
protected function getTemplateFiles ( $ file ) { $ module_id = $ this -> theme ; if ( strpos ( $ file , '|' ) !== false ) { list ( $ module_id , $ file ) = explode ( '|' , $ file , 2 ) ; } else if ( gplcart_path_is_absolute ( $ file ) ) { $ template = substr ( $ file , 0 , ( strrpos ( $ file , '.' ) ) ) ; return array ( $ template , $ template ) ; } return array ( GC_DIR_MODULE . "/$module_id/templates/$file" , GC_DIR_MODULE . "/{$this->theme}/override/templates/$module_id/$file" ) ; }
Returns an array of full template paths without file extension
@param string $file
@return array
Returns an array of full template paths without file extension