public function getStatus($messageId)
    {
        if (null === $this->username || null === $this->password || null === $this->accountRef) {
            throw new Exception\InvalidCredentialsException('No API credentials provided');
        }

        $params = $this->getParameters(array(
            'messageID' => $messageId,
        ));

        return $this->executeQuery(self::SMS_STATUS_URL, $params);
    }
public function getStatus($messageId)
    {
        if (null === $this->username || null === $this->password || null === $this->accountRef) {
            throw new Exception\InvalidCredentialsException('No API credentials provided');
        }

        $params = $this->getParameters(array(
            'messageID' => $messageId,
        ));

        return $this->executeQuery(self::SMS_STATUS_URL, $params);
    }
public function getStatus ( $ messageId ) { if ( null === $ this -> username || null === $ this -> password || null === $ this -> accountRef ) { throw new Exception \ InvalidCredentialsException ( 'No API credentials provided' ) ; } $ params = $ this -> getParameters ( array ( 'messageID' => $ messageId , ) ) ; return $ this -> executeQuery ( self :: SMS_STATUS_URL , $ params ) ; }
Retrieves the status of a message

@param  string $messageId The message Id.
@return array
Retrieves the status of a message