replace all get_class() calls without argument which is depected from php 8.3 onward
14 lines
350 B
PHP
14 lines
350 B
PHP
<?php
|
|
namespace SQL;
|
|
|
|
class CONTACTS_COUNT extends \SYSTEM\DB\QP {
|
|
public static function get_class(){return static::class;}
|
|
public static function mysql(){return
|
|
'SELECT COUNT(*) as `count` FROM contact WHERE
|
|
( contact.email LIKE ? OR
|
|
contact.name_first LIKE ? OR
|
|
contact.name_last LIKE ? OR
|
|
contact.organization LIKE ?
|
|
);';
|
|
}
|
|
} |