src/XML/OPML/FileReader.php
public static function load( $fileName )
	{
		$file	= new FS_File_Reader( $fileName );
		if( !$file->exists() )
			throw new Exception( "File '".$fileName."' is not existing." );
		$xml	= $file->readString();
		$parser	= new XML_OPML_Parser();
		return $parser->parse( $xml );
	}
public static function load( $fileName )
	{
		$file	= new FS_File_Reader( $fileName );
		if( !$file->exists() )
			throw new Exception( "File '".$fileName."' is not existing." );
		$xml	= $file->readString();
		$parser	= new XML_OPML_Parser();
		return $parser->parse( $xml );
	}
public static function load ( $ fileName ) { $ file = new FS_File_Reader ( $ fileName ) ; if ( ! $ file -> exists ( ) ) throw new Exception ( "File '" . $ fileName . "' is not existing." ) ; $ xml = $ file -> readString ( ) ; $ parser = new XML_OPML_Parser ( ) ; return $ parser -> parse ( $ xml ) ; }
Loads a OPML File statically.
@access		public
@static
@param		string		$fileName		URI of OPML File
@return		bool
Loads a OPML File statically .