fuel/fuel/core/classes/view.php
public function set_filename($file)
	{
		// set find_file's one-time-only search paths
		\Finder::instance()->flash($this->request_paths);

		// locate the view file
		if (($path = \Finder::search('views', $file, '.'.$this->extension, false, false)) === false)
		{
			throw new \FuelException('The requested view could not be found: '.\Fuel::clean_path($file));
		}

		// Store the file path locally
		$this->file_name = $path;

		return $this;
	}
public function set_filename($file)
	{
		// set find_file's one-time-only search paths
		\Finder::instance()->flash($this->request_paths);

		// locate the view file
		if (($path = \Finder::search('views', $file, '.'.$this->extension, false, false)) === false)
		{
			throw new \FuelException('The requested view could not be found: '.\Fuel::clean_path($file));
		}

		// Store the file path locally
		$this->file_name = $path;

		return $this;
	}
public function set_filename ( $ file ) { // set find_file's one-time-only search paths \ Finder :: instance ( ) -> flash ( $ this -> request_paths ) ; // locate the view file if ( ( $ path = \ Finder :: search ( 'views' , $ file , '.' . $ this -> extension , false , false ) ) === false ) { throw new \ FuelException ( 'The requested view could not be found: ' . \ Fuel :: clean_path ( $ file ) ) ; } // Store the file path locally $ this -> file_name = $ path ; return $ this ; }
Sets the view filename.

$view->set_filename($file);

@param   string  view filename
@return  View
@throws  FuelException
Sets the view filename .