Kohana_Twig::set_filename PHP 메소드

set_filename() 공개 메소드

Sets the view filename.
public set_filename ( $file ) : View
리턴 View
    public function set_filename($file)
    {
        // Store the file path locally
        $this->_file = $file;
        // Split apart at the extension if necessary
        if ($extension = pathinfo($file, PATHINFO_EXTENSION)) {
            $this->set_extension($extension);
        }
        return $this;
    }