| // +----------------------------------------------------------------------+ // // $Id$ require_once "PEAR.php"; class PEAR_Command_Common extends PEAR { /** * PEAR_Config object used to pass user system and configuration * on when executing commands * * @var object */ var $config; /** * User Interface object, for all interaction with the user. * @var object */ var $ui; /** * PEAR_Command_Common constructor. * * @access public */ function PEAR_Command_Common(&$ui, &$config) { parent::PEAR(); $this->config = &$config; $this->ui = &$ui; } function getOptions() { return array(); } function getHelp($command) { return array(null, 'No help avaible yet'); } } ?>