public function saveFabric($type = 'html')
    {
        switch ($type) {
            case 'html':
                $this->output['raw'] = parent::saveHTML();
                break;

            case 'xml':
                $this->output['raw'] = parent::saveXML();
                break;
        }

        // default output process.
        $this->outputProcess();

        return $this->getDoctype() . trim($this->output['raw']);
    }
public function saveFabric($type = 'html')
    {
        switch ($type) {
            case 'html':
                $this->output['raw'] = parent::saveHTML();
                break;

            case 'xml':
                $this->output['raw'] = parent::saveXML();
                break;
        }

        // default output process.
        $this->outputProcess();

        return $this->getDoctype() . trim($this->output['raw']);
    }
public function saveFabric ( $ type = 'html' ) { switch ( $ type ) { case 'html' : $ this -> output [ 'raw' ] = parent :: saveHTML ( ) ; break ; case 'xml' : $ this -> output [ 'raw' ] = parent :: saveXML ( ) ; break ; } // default output process.
 $ this -> outputProcess ( ) ; return $ this -> getDoctype ( ) . trim ( $ this -> output [ 'raw' ] ) ; }
Return the engine output html view.

@param string $type  The run type

@return type
Return the engine output html view .