library/Garp/Service/Amazon/Ses.php
public function getSendQuota() {
        $response = $this->_makeRequest(array(
            'Action' => 'GetSendQuota'
        ));
        $dom = new DOMDocument();
        $dom->loadXML($response);
        $out = array(
            'Max24HourSend'     => $dom->getElementsByTagName('Max24HourSend')->item(0)->nodeValue,
            'MaxSendRate'       => $dom->getElementsByTagName('MaxSendRate')->item(0)->nodeValue,
            'SentLast24Hours'   => $dom->getElementsByTagName('SentLast24Hours')->item(0)->nodeValue
        );
        return $out;
    }
public function getSendQuota() {
        $response = $this->_makeRequest(array(
            'Action' => 'GetSendQuota'
        ));
        $dom = new DOMDocument();
        $dom->loadXML($response);
        $out = array(
            'Max24HourSend'     => $dom->getElementsByTagName('Max24HourSend')->item(0)->nodeValue,
            'MaxSendRate'       => $dom->getElementsByTagName('MaxSendRate')->item(0)->nodeValue,
            'SentLast24Hours'   => $dom->getElementsByTagName('SentLast24Hours')->item(0)->nodeValue
        );
        return $out;
    }
public function getSendQuota ( ) { $ response = $ this -> _makeRequest ( array ( 'Action' => 'GetSendQuota' ) ) ; $ dom = new DOMDocument ( ) ; $ dom -> loadXML ( $ response ) ; $ out = array ( 'Max24HourSend' => $ dom -> getElementsByTagName ( 'Max24HourSend' ) -> item ( 0 ) -> nodeValue , 'MaxSendRate' => $ dom -> getElementsByTagName ( 'MaxSendRate' ) -> item ( 0 ) -> nodeValue , 'SentLast24Hours' => $ dom -> getElementsByTagName ( 'SentLast24Hours' ) -> item ( 0 ) -> nodeValue ) ; return $ out ; }
Returns the user's current activity limits.
@return Array Describing various statistics about your usage. The keys correspond to
nodes in Amazon's response
Returns the user s current activity limits .