static string escape_value(
string
$db, string
$value
)
|
|
Parameters:
string |
$db: |
The database to do escapting for |
string |
$value: |
The value to escape |
API Tags:
static mixed exec(
$db, string
$querystring
)
|
|
executes a query and triggers logging to the SQL audit log if it's not a SELECT
Parameters:
string |
$querystring: |
the query to be executed |
|
$db: |
|
API Tags:
Return: | the query result as mysqli_result object; or TRUE on non-return-value statements |
Access: | public |
static boolean fetchRawDataByIndex(
type
$table, type
$row
)
|
|
Retrieves data from the underlying tables, for situations where instantiating the IdP or Profile object is inappropriate
Parameters:
type |
$table: |
institution_option or profile_option |
type |
$row: |
rowindex |
API Tags:
static void isDataRestricted(
$table,
$row
)
|
|
Checks if a raw data pointer is public data (return value FALSE) or if
yes who the authorised admins to view it are (return array of user IDs)
Parameters:
API Tags:
Retrieves the last auto-id of an INSERT. Needs to be called immediately after the corresponding exec() call
Parameters:
API Tags:
Return: | the last autoincrement-ID |
Access: | public |
Implemented for safety reasons only. Cloning is forbidden and will tell the user so.
API Tags: