MCPcopy Index your code
hub / github.com/atomicon/codeigniter-theme / view

Method view

libraries/theme.php:218–224  ·  view source on GitHub ↗

* Theme::view() * * Loads the view just as CI would normally do and * passed it to the theme function wrapping the view into the theme * * @param string $view The view to load * @param array $data The data array to pass to the view * @param bool $return (optional) Return the output? * @return void or the HTML */

($view, $data = array(), $return = false)

Source from the content-addressed store, hash-verified

216 * @return void or the HTML
217 */
218 function view($view, $data = array(), $return = false)
219 {
220 $data = is_array($data) ? $data : array();
221 $data = array_merge($this->_data, $data);
222 $content = $this->partial($view, $data, true);
223 return $this->render($content, $return);
224 }
225
226 /**
227 * Theme::render()

Callers 2

partialMethod · 0.80
indexMethod · 0.80

Calls 2

partialMethod · 0.95
renderMethod · 0.95

Tested by

no test coverage detected