public function getRoles() { if (!$this->_roles) { $frontend = $this->getPear()->getFrontend(); $config = $this->getPear()->getConfig(); $pearMage = new PEAR_Command_Mage($frontend, $config); $this->_roles = $pearMage->getRoles(); } return $this->_roles; }
/** * PEAR_Command_Package constructor. * * @access public */ function PEAR_Command_MagePackageXml(&$ui, &$config) { parent::PEAR_Command_Common($ui, $config); }