public function getViewFile($name){
        if(isset($this->options['locator'])){
            if($path = call_user_func($this->options['locator'], $name)){
                return $path;
            }
        }
        $path = '';
        if(isset($this->options['root'])){
            $path.=$this->options['root'].'/';
        }
        
        $path.=$name;
        return $path;
    }