function getCommands()
    {
        $ret = array();
        foreach (array_keys($this->commands) as $command) {
            $ret[$command] = $this->commands[$command]['summary'];
        }

        return $ret;
    }
function getCommands()
    {
        $ret = array();
        foreach (array_keys($this->commands) as $command) {
            $ret[$command] = $this->commands[$command]['summary'];
        }

        return $ret;
    }
function getCommands ( ) { $ ret = array ( ) ; foreach ( array_keys ( $ this -> commands ) as $ command ) { $ ret [ $ command ] = $ this -> commands [ $ command ] [ 'summary' ] ; } return $ ret ; }
Return a list of all the commands defined by this class.
@return array list of commands
@access public
Return a list of all the commands defined by this class .