/** * isMobileIp() * * #test isMobileIp1 * <code> * #ok(sfMobileCarrierJP::isMobileIp("210.136.161.1") * ,"210.136.161.1 is in mobile CIDR"); * #false(sfMobileCarrierJP::isMobileIp("210.251.1.193") * ,"210.251.1.193 is in mobile CIDR"); * #ok(sfMobileCarrierJP::isMobileIp("210.146.60.240") * ,"210.146.60.240 is in mobile CIDR"); * #ok(sfMobileCarrierJP::isMobileIp("61.198.249.3") * ,"61.198.249.3 is in mobile CIDR"); * </code> * * */ public static function isMobileIp($ip) { return sfMobileCarrierJP::isKtaiIp($ip) || sfMobileCarrierJP::isAirhphoneIp($ip); }