Аргумент | Возможный тип | Описание |
$filename | — | — |
$file = DIR_TEMPLATE . $filename; if (file_exists($file)) { extract($this->data); ob_start(); include($file); $content = ob_get_clean(); return $content; } else { trigger_error('Error: Could not load template ' . $file . '!'); exit(); }