Esempio n. 1
0
 static function fetchFromFile($filename)
 {
     $dom = eZPackage::fetchDOMFromFile($filename);
     if ($dom === false) {
         return false;
     }
     $package = new eZPackage();
     $parameters = $package->parseDOMTree($dom);
     if (!$parameters) {
         return false;
     }
     return $package;
 }