public function load($filename)
    {
        if ($filename && file_exists($filename)) {
            $this->doc->load($filename, LIBXML_NSCLEAN);
        } else {
            $this->createBasicDocument();
        }
    }
public function load($filename)
    {
        if ($filename && file_exists($filename)) {
            $this->doc->load($filename, LIBXML_NSCLEAN);
        } else {
            $this->createBasicDocument();
        }
    }
public function load ( $ filename ) { if ( $ filename && file_exists ( $ filename ) ) { $ this -> doc -> load ( $ filename , LIBXML_NSCLEAN ) ; } else { $ this -> createBasicDocument ( ) ; } }
Load the file from disk.

@param string $filename The filename.

@return void
Load the file from disk .