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.

Get a list of installed packages that depend on this package (Previous) Register dependencies of a package that is being installed or upgraded (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.