PABX da Simples IP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
438 B

<?php
namespace app\Repositories;
use app\core\Repository;
class AuditaFull extends Repository
{
protected static $table = 'pbx_audita_full';
public static function create(array $data): int|bool
{
$query = "INSERT INTO pbx_audita_full (" . implode(', ', array_keys($data)) . ")
VALUES (:" . implode(',:', array_keys($data)) . ')';
return self::query($query, $data, 'count');
}
}