コード例 #1
0
ファイル: ResModel.php プロジェクト: p4535992/programate
 /**
  * Load a model from a file containing RDF, N3 or N-Triples.
  * This function recognizes the suffix of the filename (.n3 or .rdf) and
  * calls a suitable parser, if no $type is given as string ("rdf" "n3" "nt");
  * If the model is not empty, the contents of the file is added to this DbModel.
  *
  * @param 	string 	$filename
  * @param 	string 	$type
  * @param   boolean $stream
  * @access	public
  */
 function load($filename, $type = NULL, $stream = false)
 {
     $this->model->load($filename, $type, $stream);
 }