Fixes
This commit is contained in:
parent
99e0968b7b
commit
3dea8a32aa
1 changed files with 13 additions and 1 deletions
|
|
@ -993,7 +993,6 @@ class Webmodel {
|
|||
/**
|
||||
* A helper function for obtain the last insert id.
|
||||
*
|
||||
* @param mixed $query The last insert id.
|
||||
*/
|
||||
|
||||
public function insert_id()
|
||||
|
|
@ -1004,6 +1003,19 @@ class Webmodel {
|
|||
return MySQLClass::webtsys_insert_id();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* A helper function for escape query strings
|
||||
*
|
||||
* @param string $value The query string to escape.
|
||||
*/
|
||||
|
||||
static public function escape_string($value)
|
||||
{
|
||||
|
||||
return MySQLClass::webtsys_escape_string($value);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* A helper function for get fields names of the model from the array $components
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue