You are here

function Smarty::_get_compile_path in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::_get_compile_path()

Get the compile path for this resource

Parameters

string $resource_name:

Return value

string results of {@link _get_auto_filename()}

2 calls to Smarty::_get_compile_path()
Smarty::fetch in includes/moodle/lib/smarty/Smarty.class.php
executes & returns or displays the template results
Smarty::_smarty_include in includes/moodle/lib/smarty/Smarty.class.php

File

includes/moodle/lib/smarty/Smarty.class.php, line 1505

Class

Smarty
@package Smarty

Code

function _get_compile_path($resource_name) {
  return $this
    ->_get_auto_filename($this->compile_dir, $resource_name, $this->_compile_id) . '.php';
}