dbms_primeidc_init...1

This commit is contained in:
최준흠 2025-04-03 11:47:36 +09:00
parent b259433bcb
commit 7a5ca281e5
2 changed files with 10 additions and 2 deletions

View File

@ -13,4 +13,12 @@ class ClientEntity extends Entity
{
parent::__construct($datas);
} //
public function getPhone(string $field = ""): string
{
return $field ? $this->$field : "{$this->Client_Phone1},{$this->Client_Phone2}";
}
public function getEmail(string $field = ""): string
{
return $field ? $this->$field : "{$this->Client_EMail1},{$this->Client_EMail2}";
}
} //Class

View File

@ -110,8 +110,8 @@
<td><?= $service->service_ip ?></td>
<td><?= $service->service_os ?></td>
<td><?= $service->service_sw ?></td>
<td><?= $this->clients[$service->getPK()]->Phone1 ?></td>
<td><?= $this->clients[$service->getPK()]->Email1 ?></td>
<td><?= $this->clients[$service->getPK()]->getPhone() ?></td>
<td><?= $this->clients[$service->getPK()]->getEmail() ?></td>
</tr>
<?php } ?>
</tbody>