view($view[, $vars = array()[, return = FALSE]])
Parameters:
$view (string) – View name
$vars (array) – An associative array of variables
$return (bool) – Whether to return the loaded view Returns:
View content string if $return is set to TRUE, otherwise CI_Loader instance (method chaining) Return type:
mixed
This method is used to load your View files. If you haven’t read the Views section of the user guide it is recommended that you do since it shows you how this method is typic