PEAR_DependencyDB::hasWriteAccess()

PEAR_DependencyDB::hasWriteAccess()  -- determines whether a dependency DB can be modified

Synopsis

require_once '/DependencyDB.php';

bool PEAR_DependencyDB::hasWriteAccess ()

Beschreibung

This method is used by the installer to prevent attempts to create/modify the dependency DB if the current user does not have write access to the registry. Without this method, simple read-only commands like pear info would not work.

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.