Takes an object as input and converts the class variables to
an associative array with key/value pairs.
protected _ci_object_to_array ( object $object ) : array | ||
$object | object | Object data to translate |
return | array |
/** Load a module view **/ public function view($view, $vars = array(), $return = FALSE) { list($path, $view) = Modules::find($view, $this->_module, 'views/'); $this->_ci_view_path = $path; return parent::_ci_load(array('_ci_view' => $view, '_ci_vars' => parent::_ci_object_to_array($vars), '_ci_return' => $return)); }