Ejemplo n.º 1
0
/**
 * Check to see if this impression contains the valid country.
 *
 * @param string $limitation The country (or comma list of countries) limitation
 * @param string $op The operator (either '==' or '!=')
 * @param array $aParams An array of additional parameters to be checked
 * @return boolean Whether this impression's country passes this limitation's test.
 */
function MAX_checkGeo_Country($limitation, $op, $aParams = array())
{
    return MAX_limitationsMatchArrayClientGeo('country_code', $limitation, $op, $aParams);
}
Ejemplo n.º 2
0
/**
 * Check to see if this impression contains the valid DMA Code.
 *
 * @param string $limitation The DMA Code (or comma list of DMA codes) limitation
 * @param string $op The operator (either '==' or '!=')
 * @param array $aParams An array of additional parameters to be checked
 * @return boolean Whether this impression's DMA code passes this limitation's test.
 */
function MAX_checkGeo_Dma($limitation, $op, $aParams = array())
{
    return MAX_limitationsMatchArrayClientGeo('dma_code', $limitation, $op, $aParams);
}
/**
 * Check to see if this impression contains the valid netspeed.
 *
 * @param string $limitation The netspeed (or comma list of netspeed's) limitation
 * @param string $op The operator (either '==' or '!=')
 * @param array $aParams An array of additional parameters to be checked
 * @return boolean Whether this impression's netspeed passes this limitation's test.
 */
function MAX_checkGeo_Netspeed($limitation, $op, $aParams = array())
{
    return MAX_limitationsMatchArrayClientGeo('netspeed', $limitation, $op, $aParams);
}