This commit is contained in:
parent
81fbe584db
commit
9aee96d7e2
8 changed files with 12 additions and 9 deletions
4
base.php
4
base.php
|
@ -1248,6 +1248,10 @@ abstract class Base
|
|||
self::$db = NULL;
|
||||
}
|
||||
|
||||
public static function executeQuerySingle ($query, $database = NULL) {
|
||||
return self::getDb ($database)->query($query)->fetchColumn();
|
||||
}
|
||||
|
||||
public static function executeQuery($query, $columns, $filter, $params, $n, $database = NULL, $numberPerPage = NULL) {
|
||||
$totalResult = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue