An empty Inx_Api_Bounce_BounceQuery object can be obtained from the Inx_Api_Bounce_BounceManager.
The following snippet shows how to construct and execute a query for two particular lists with bounce category hard bounce and soft bounce:
$oBounceManager = $oSession->getBounceManager(); $oBounceQuery = $oBounceManager->createQuery(); $aListIds = array(3, 5); $aCategoryIds = array(Inx_Api_Bounce_Bounce::CATEGORY_HARD_BOUNCE, Inx_Api_Bounce_Bounce::CATEGORY_AUTO_RESPONDER_BOUNCE); $oBOResultSet = $oBounceQuery->listIds($aListIds)->categoryIds($aCategoryIds)->executeQuery(); foreach( $oBOResultSet as $oBounce ) { echo $oBounce->getSender()."<br>"; } $oBOResultSet->close();
Located in /Api/Bounce/BounceQuery.php (line 45)
Assigns an after filter (start date), overwriting any existing after filters, including those imposed by between filters.
Assigns an after filter (start date), overwriting any existing after filters, including those imposed by between filters. The result will only contain bounces that happened at or after the given date.
Assigns an before filter (end date), overwriting any existing before filters, including those imposed by between filters.
Assigns an before filter (end date), overwriting any existing before filters, including those imposed by between filters. The result will only contain bounces that happened before or at the given date.
Assigns a between filter (start and end date), overwriting any existing before, after and between filters. result will only contain bounces performed after or at the given start date and before or at the given end date.
Assigns a between filter (start and end date), overwriting any existing before, after and between filters. The result will only contain bounces performed after or at the given start date and before or at the given end date.
Assigns a category filter for one or several categories, overwriting any existing category filter. will only contain bounces which are received as a reply to mailings from the given categories.
Assigns a category filter for one or several categories, overwriting any existing category filter. The result will only contain bounces which are received as a reply to mailings from the given categories. For invalid category IDs an Inx_Api_IllegalArgumentException will be thrown.
Executes the query, applying all filters and returning the resulting
Executes the query, applying all filters and returning the resulting
Assigns a list filter for one or several lists, overwriting any existing list filter. bounces which were received in reply to mailings from the given lists.
Assigns a list filter for one or several lists, overwriting any existing list filter. The result will only contain bounces which were received in reply to mailings from the given lists. Invalid list IDs will be ignored.
Assigns a mailing filter for one or several mailings, overwriting any existing mailing filters. contain bounces which were received in reply to these mailings.
Assigns a mailing filter for one or several mailings, overwriting any existing mailing filters. The result will only contain bounces which were received in reply to these mailings. Invalid mailing IDs will be ignored.
Documentation generated on Thu, 17 Sep 2015 14:27:22 +0200 by phpDocumentor 1.3.2