public function getCmd($tag)
    {
        return isset($this->_commands[$tag])
            ? $this->_commands[$tag]
            : null;
    }
public function getCmd($tag)
    {
        return isset($this->_commands[$tag])
            ? $this->_commands[$tag]
            : null;
    }
public function getCmd ( $ tag ) { return isset ( $ this -> _commands [ $ tag ] ) ? $ this -> _commands [ $ tag ] : null ; }
Return the command for a given tag.

@param string $tag  The command tag.

@return Horde_Imap_Client_Interaction_Command  A command object (or
null if the tag does
not exist).
Return the command for a given tag .