protected function render($viewFile, $variables=[])
    {
        $viewFile = (strpos($viewFile, '/', 0)===false) ? $this->getViewPath() . $viewFile : $viewFile;
        
        $this->CI->load->view($viewFile, $variables);
    }
protected function render($viewFile, $variables=[])
    {
        $viewFile = (strpos($viewFile, '/', 0)===false) ? $this->getViewPath() . $viewFile : $viewFile;
        
        $this->CI->load->view($viewFile, $variables);
    }
protected function render ( $ viewFile , $ variables = [ ] ) { $ viewFile = ( strpos ( $ viewFile , '/' , 0 ) === false ) ? $ this -> getViewPath ( ) . $ viewFile : $ viewFile ; $ this -> CI -> load -> view ( $ viewFile , $ variables ) ; }
Render a view of Widget

@param string View file path, relative for widget's view, absolute for CI view
@param array View variables
Render a view of Widget