function Smarty::_get_plugin_filepath in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::_get_plugin_filepath()
get filepath of requested plugin
Parameters
string $type:
string $name:
Return value
string|false
5 calls to Smarty::_get_plugin_filepath()
- Smarty::config_load in includes/
moodle/ lib/ smarty/ Smarty.class.php - load configuration values
- Smarty_Compiler::_compile_block_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile block function tag
- Smarty_Compiler::_compile_compiler_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile the custom compiler tag
- Smarty_Compiler::_compile_custom_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile custom function tag
- Smarty_Compiler::_parse_modifiers in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - parse modifier chain into PHP code
File
- includes/
moodle/ lib/ smarty/ Smarty.class.php, line 1358
Class
- Smarty
- @package Smarty
Code
function _get_plugin_filepath($type, $name) {
$_params = array(
'type' => $type,
'name' => $name,
);
require_once SMARTY_CORE_DIR . 'core.assemble_plugin_filepath.php';
return smarty_core_assemble_plugin_filepath($_params, $this);
}