/** * Saves the RDF,N3 or N-Triple serialization of the MemModel to a file. * You can decide to which format the model should be serialized by using a * corresponding suffix-string as $type parameter. If no $type parameter * is placed this method will serialize the model to XML/RDF format. * Returns FALSE if the MemModel couldn't be saved to the file. * * @access public * @param string $filename * @param string $type * @throws PhpError * @return boolean */ function saveAs($filename, $type = 'rdf') { return $this->model->saveAs($filename, $type = 'rdf'); }