PEAR_DependencyDB::hasWriteAccess

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

Synopsis

require_once '/DependencyDB.php';

bool PEAR_DependencyDB::hasWriteAccess ( )

Description

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.

Throws

throws no exceptions thrown

Note

This function can not be called statically.