Exemple #1
0
 public function setIpAttribute($ip)
 {
     $this->attributes['ip'] = chbo(ip2long($ip));
 }
Exemple #2
0
 public function setLastipAttribute($longip)
 {
     $this->attributes['lastip'] = chbo(ip2long($longip));
 }