23 lines
629 B
PHP
23 lines
629 B
PHP
<?php
|
|
|
|
namespace App\Helpers\Customer;
|
|
|
|
use App\Models\Customer\ServiceServerModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
class ServiceServerHelper extends CustomerHelper
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
$this->setTitleField(field: ServiceServerModel::TITLE);
|
|
}
|
|
|
|
public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'use'): string
|
|
{
|
|
return "";
|
|
// return $entity->isMatched($field, $value) ? "" : 'class="table-danger"';
|
|
}
|
|
}
|