/** * A "private" function to test if a zone is capped as a result of a zone capping or * zone session capping limitation. * * @access private * @param integer $zoneId The ID of the zone to check. * @param integer $cap The total number of times the zone is to be shown to a viewer. * @param integer $sessionCap Optional total number of times the zone is to be shown * to a viewer in a session. * @return boolean True if the zone is capped, false otherwise. */ function _limitationsIsZoneCapped($zoneId, $cap, $sessionCap = 0, $block, $showCappedNoCookie) { // We set $showCappedNoCookie to false to keep zone capping behaviour the same as // in previous versions of OpenX, ie, if a zone is capped, don't show the ad to a // viewer without cookies. return _limitationsIsCapped('Zone', $zoneId, $cap, $sessionCap, $block, $showCappedNoCookie); }
function _limitationsIsZoneCapped($zoneId, $cap, $sessionCap = 0, $block, $showCappedNoCookie) { return _limitationsIsCapped('Zone', $zoneId, $cap, $sessionCap, $block, $showCappedNoCookie); }
function _limitationsIsZoneCapped($zoneId, $cap, $sessionCap = 0, $block) { return _limitationsIsCapped('Zone', $zoneId, $cap, $sessionCap, $block); }