Метод |
Описание |
|
SafeSQL ( ) |
*======================================================================*\
Function: SafeSQL
Purpose: constructor
\*====================================================================== |
|
_convert_var ( $var, $type ) |
*======================================================================*\
Function: _convert_var
Purpose: convert a variable to the given type
Input: $var - the variable
$type - the type to convert to:
%i, %I - cast to integer
%f, %F - cast to float
%c, %C - comma separate, cast each element to integer
%l, %L - comma separate, no quotes, no casting
%q, %Q - quote/comma separate
\*====================================================================== |
|
_error_msg ( $error_msg ) |
*======================================================================*\
Function: error
Purpose: handle error messages
\*====================================================================== |
|
_sql_escape ( $var ) |
*======================================================================*\
Function: _sql_escape
Purpose: method overridden by subclass
\*====================================================================== |
|
get_drop_values ( ) |
*======================================================================*\
Function: GetDropValues
Purpose:
\*====================================================================== |
|
query ( $query_string, $query_vars ) |
*======================================================================*\
Function: query
Purpose: process the query string
\*====================================================================== |
|
set_drop_values ( $drop_values ) |
*======================================================================*\
Function: SetDropValues
Purpose:
\*====================================================================== |
|