dbms_primeidc_init...1
This commit is contained in:
parent
7a5ca281e5
commit
bfc645820b
@ -13,12 +13,12 @@ class ClientEntity extends Entity
|
|||||||
{
|
{
|
||||||
parent::__construct($datas);
|
parent::__construct($datas);
|
||||||
} //
|
} //
|
||||||
public function getPhone(string $field = ""): string
|
public function getPhone(string $field = "", string $delimeter = ","): string
|
||||||
{
|
{
|
||||||
return $field ? $this->$field : "{$this->Client_Phone1},{$this->Client_Phone2}";
|
return $field ? $this->$field : "{$this->Client_Phone1} {$delimeter} {$this->Client_Phone2}";
|
||||||
}
|
}
|
||||||
public function getEmail(string $field = ""): string
|
public function getEmail(string $field = "", string $delimeter = ","): string
|
||||||
{
|
{
|
||||||
return $field ? $this->$field : "{$this->Client_EMail1},{$this->Client_EMail2}";
|
return $field ? $this->$field : "{$this->Client_EMail1} {$delimeter} {$this->Client_EMail2}";
|
||||||
}
|
}
|
||||||
} //Class
|
} //Class
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class ServiceService extends CommonService
|
|||||||
public function getEntitysByIP(string $value): mixed
|
public function getEntitysByIP(string $value): mixed
|
||||||
{
|
{
|
||||||
$this->getModel()->where("service_ip", $value);
|
$this->getModel()->where("service_ip", $value);
|
||||||
return $this->getEntity();
|
return $this->getEntitys();
|
||||||
}
|
}
|
||||||
public function getEntitysByCodes(array $values): array
|
public function getEntitysByCodes(array $values): array
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user