Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

PEAR_Command::registerCommands()

PEAR_Command::registerCommands() -- scan the command directory

Description

Scan through the Command directory looking for classes and see what commands they implement.

Parameter

boolean $merge

if FALSE (default), the new list of commands should replace the current one. If TRUE, new entries will be merged with old.

string $dir

where (what directory) to look for classes, defaults to the Command subdirectory of the directory from where this file (__FILE__) is included.

Return value

bool TRUE on success

Note

This function should be called statically.


PrevHomeNext
PEAR_Command::getShortcuts()UpPEAR_Common
 

 

 

© 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: