public function view($viewname, $data = '')
    {
        if (in_array($viewname, $this->viewset) === false) {
            $this->viewset[] = array($viewname, $data);
            $view = new View(Base::getInstance());
            $this->loaderHooks($view,'pre_view',$class='',$method_name='',$data=array());
            return $view;
        }
    }