Function Database_Static_xml->_function_set_scoping
Definitions
sources/database/xml.php
- Run SQL data filter functions over a result set.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$set | array | No | No | required parameter | N/A | N/A | The set of results we are operating on |
$select | array | No | No | required parameter | N/A | N/A | Parse tree of what we are selecting |
$rep | array | No | No | required parameter | N/A | N/A | Record we are copying the function results into |
$query | string | No | No | required parameter | N/A | N/A | Query that was executed |
$db | array | No | No | required parameter | N/A | N/A | Database connection |
$fail_ok | boolean | No | No | required parameter | N/A | N/A | Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal) |
Returns
- The result row based on the set
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Run SQL data filter functions over a result set.
*
* @param array $set The set of results we are operating on
* @param array $select Parse tree of what we are selecting
* @param array $rep Record we are copying the function results into
* @param string $query Query that was executed
* @param array $db Database connection
* @param boolean $fail_ok Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal)
* @return array The result row based on the set
*/
protected function _function_set_scoping(array $set, array $select, array $rep, string $query, array $db, bool $fail_ok) : array
* Run SQL data filter functions over a result set.
*
* @param array $set The set of results we are operating on
* @param array $select Parse tree of what we are selecting
* @param array $rep Record we are copying the function results into
* @param string $query Query that was executed
* @param array $db Database connection
* @param boolean $fail_ok Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal)
* @return array The result row based on the set
*/
protected function _function_set_scoping(array $set, array $select, array $rep, string $query, array $db, bool $fail_ok) : array