Home
require_once 'PEAR/command.php';
bool PEAR_Command::registerCommands ([bool $merge = FALSE [, string $dir = NULL]])
Scan through the Command directory looking for classes and see what commands they implement.
if FALSE (default), the new list of commands should replace the current one. If TRUE, new entries will be merged with old.
where (what directory) to look for classes, defaults to the Command subdirectory of the directory from where this file (__FILE__) is included.
bool TRUE on success
Table 20-1. Possible PEAR_Error values
This function should be called statically.
© 2002-2004 Active-Venture.com Web Site Hosting Service
Disclaimers: This documentation is provided only for the benefits of our website hosting customers. For authoritative source of the documentation, please refer to http://pear.php.net/manual/
Recommended Resources: