class CI_Parser
parse($template, $data[, $return = FALSE])
Parameters:
$template (string) – Path to view file
$data (array) – Variable data
$return (bool) – Whether to only return the parsed template Returns:
Parsed template string Return type:
string Parses a template from the provided path and variables.
parse_string($template, $data[, $return = FALSE])
Parameters:
$template (string) – Path to view file
$data (array) – Variable data
$return (bool) – Whether to only re