source/Core/UtilsView.php
public function _smartyDefaultTemplateHandler($resourceType, $resourceName, &$resourceContent, &$resourceTimestamp, $smarty)
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        if ($resourceType == 'file' && !is_readable($resourceName)) {
            $resourceName = $config->getTemplatePath($resourceName, $config->isAdmin());
            $resourceContent = $smarty->_read_file($resourceName);
            $resourceTimestamp = filemtime($resourceName);

            return is_file($resourceName) && is_readable($resourceName);
        }

        return false;
    }
public function _smartyDefaultTemplateHandler($resourceType, $resourceName, &$resourceContent, &$resourceTimestamp, $smarty)
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        if ($resourceType == 'file' && !is_readable($resourceName)) {
            $resourceName = $config->getTemplatePath($resourceName, $config->isAdmin());
            $resourceContent = $smarty->_read_file($resourceName);
            $resourceTimestamp = filemtime($resourceName);

            return is_file($resourceName) && is_readable($resourceName);
        }

        return false;
    }
public function _smartyDefaultTemplateHandler ( $ resourceType , $ resourceName , & $ resourceContent , & $ resourceTimestamp , $ smarty ) { $ config = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; if ( $ resourceType == 'file' && ! is_readable ( $ resourceName ) ) { $ resourceName = $ config -> getTemplatePath ( $ resourceName , $ config -> isAdmin ( ) ) ; $ resourceContent = $ smarty -> _read_file ( $ resourceName ) ; $ resourceTimestamp = filemtime ( $ resourceName ) ; return is_file ( $ resourceName ) && is_readable ( $ resourceName ) ; } return false ; }
is called when a template cannot be obtained from its resource.

@param string $resourceType      template type
@param string $resourceName      template file name
@param string $resourceContent   template file content
@param int    $resourceTimestamp template file timestamp
@param object $smarty            template processor object (smarty)

@return bool
is called when a template cannot be obtained from its resource .