uawdijnntqw1x1x1
IP : 216.73.216.168
Hostname : server.fattispazio.it
Kernel : Linux server.fattispazio.it 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
poliximo
/
public_html
/
libraries
/
src
/
..
/
regularlabs
/
src
/
Condition
/
GeoPostalcode.php
/
/
<?php /** * @package Regular Labs Library * @version 19.7.21312 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2019 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ namespace RegularLabs\Library\Condition; defined('_JEXEC') or die; /** * Class GeoPostalcode * @package RegularLabs\Library\Condition */ class GeoPostalcode extends Geo { public function pass() { if ( ! $this->getGeo() || empty($this->geo->postalCode)) { return $this->_(false); } // replace dashes with dots: 730-0011 => 730.0011 $postalcode = str_replace('-', '.', $this->geo->postalCode); return $this->passInRange($postalcode); } }
/home/poliximo/public_html/libraries/src/../regularlabs/src/Condition/GeoPostalcode.php