PEAR_PackageFile::fromArray()

PEAR_PackageFile::fromArray()  -- Return a packagefile object from its toArray() method

Referentiesamenvatting

require_once '/PackageFile.php';

PEAR_PackageFile_v1|PEAR_PackageFile_v2& PEAR_PackageFile::fromArray (array $arr)

Beschrijving

Waarschuwing

WARNING: no validation is performed, the array is assumed to be valid, always parse from xml if you want validation.

Parameter

array $arr

Contents of a previously parsed package.xml object.

Throws

throws no exceptions thrown

Note

Deze functie kan niet statisch worden aangeroepen.