PEAR_PackageUpdate::setPreferences

PEAR_PackageUpdate::setPreferences – Sets all preferences at once.

Synopsis

require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::setPreferences ( array $preferences )

Description

Sets a group of preference with associated values, all at once. Invalid preference is ignored (no error raised).

Note

since 0.4.0a1

This function can not be called statically.

Return value

boolean - TRUE if all the preferences were set properly, FALSE otherwise.