public function getUserModes(ConnectionInterface $connection, $channel, $nick)
    {
        $connectionMask = $this->getConnectionMask($connection);
        if (isset($this->modes[$connectionMask][$channel][$nick])) {
            return array_keys($this->modes[$connectionMask][$channel][$nick]);
        }
        return array();
    }
public function getUserModes(ConnectionInterface $connection, $channel, $nick)
    {
        $connectionMask = $this->getConnectionMask($connection);
        if (isset($this->modes[$connectionMask][$channel][$nick])) {
            return array_keys($this->modes[$connectionMask][$channel][$nick]);
        }
        return array();
    }
public function getUserModes ( ConnectionInterface $ connection , $ channel , $ nick ) { $ connectionMask = $ this -> getConnectionMask ( $ connection ) ; if ( isset ( $ this -> modes [ $ connectionMask ] [ $ channel ] [ $ nick ] ) ) { return array_keys ( $ this -> modes [ $ connectionMask ] [ $ channel ] [ $ nick ] ) ; } return array ( ) ; }
Returns a list of modes for a user in a particular channel.

@param \Phergie\Irc\ConnectionInterface $connection
@param string $channel
@param string $nick
@return array Enumerated array of mode letters or an empty array if the
user has no modes in the specified channel
Returns a list of modes for a user in a particular channel .