1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($result, Connection $dbConnection=null, \Bitrix\Main\Diag\SqlTrackerQuery $trackerQuery=null) | |
getResource () | |
setReplacedAliases (array $replacedAliases) | |
addReplacedAliases (array $replacedAliases) | |
setSerializedFields (array $serializedFields) | |
addFetchDataModifier ($fetchDataModifier) | |
fetchRaw () | |
fetch (\Bitrix\Main\Text\Converter $converter=null) | |
fetchAll (\Bitrix\Main\Text\Converter $converter=null) | |
getFields () | |
getSelectedRowsCount () | |
getTrackerQuery () | |
getConverters () | |
setConverters ($converters) | |
setCount ($n) | |
getCount () | |
getIterator () | |
getFieldsCount () | |
getLength () | |
hasBigFields () |
Защищенные члены | |
fetchRowInternal () |
Защищенные данные | |
$connection | |
$resource | |
$trackerQuery = null | |
$converters = array() | |
$serializedFields = array() | |
$replacedAliases = array() | |
$fetchDataModifiers = array() | |
$count |
См. определение в файле result.php строка 19
__construct | ( | $result, | |
Connection | $dbConnection = null, | ||
\Bitrix\Main\Diag\SqlTrackerQuery | $trackerQuery = null ) |
resource | $result | Database-specific query result. |
Connection | null | $dbConnection | Connection object. |
\Bitrix\Main\Diag\SqlTrackerQuery | null | $trackerQuery | Helps to collect debug information. |
Переопределяется в MssqlResult, MysqliResult и OracleResult.
См. определение в файле result.php строка 45
addFetchDataModifier | ( | $fetchDataModifier | ) |
Modifier should accept once fetched array as an argument, then modify by link or return new array:
callable | $fetchDataModifier | Valid callback. |
Bitrix\Main\ArgumentException
См. определение в файле result.php строка 132
addReplacedAliases | ( | array | $replacedAliases | ) |
Extends list of aliased columns.
string[] | $replacedAliases | Aliases map from tech to human. |
См. определение в файле result.php строка 105
fetch | ( | \Bitrix\Main\Text\Converter | $converter = null | ) |
Fetches one row of the query result and returns it in the associative array of converted data or false on empty data.
\Bitrix\Main\Text\Converter | null | $converter | Optional converter to encode data on fetching. |
См. определение в файле result.php строка 179
fetchAll | ( | \Bitrix\Main\Text\Converter | $converter = null | ) |
Fetches all the rows of the query result and returns it in the array of associative arrays. Returns an empty array if query has no data.
\Bitrix\Main\Text\Converter | null | $converter | Optional converter to encode data on fetching. |
См. определение в файле result.php строка 249
fetchRaw | ( | ) |
Fetches one row of the query result and returns it in the associative array of raw DB data or false on empty data.
См. определение в файле result.php строка 147
|
abstractprotected |
Returns next result row or false.
Переопределяется в ArrayResult, MssqlResult, MysqliResult, OracleResult и PgsqlResult.
getConverters | ( | ) |
См. определение в файле result.php строка 293
getCount | ( | ) |
Returns record count. It's required to set record count explicitly before.
Bitrix\Main\ObjectPropertyException
См. определение в файле result.php строка 320
|
abstract |
Returns an array of fields according to columns in the result.
Переопределяется в ArrayResult, MssqlResult, MysqliResult, OracleResult и PgsqlResult.
getFieldsCount | ( | ) |
Returns the number of fields in the result.
Переопределяется в MysqliResult и PgsqlResult.
См. определение в файле result.php строка 346
getIterator | ( | ) |
Retrieve an external iterator An instance of an object implementing Iterator or Traversable 5.0.0
См. определение в файле result.php строка 336
getLength | ( | ) |
Returns the size in bytes of the last fetched row.
Переопределяется в MysqliResult.
См. определение в файле result.php строка 356
getResource | ( | ) |
Returns database-specific resource of this result.
См. определение в файле result.php строка 78
|
abstract |
Returns the number of rows in the result.
Переопределяется в ArrayResult, MssqlResult, MysqliResult, OracleResult и PgsqlResult.
getTrackerQuery | ( | ) |
Returns current query tracker.
См. определение в файле result.php строка 285
hasBigFields | ( | ) |
Checks the existence of the big fields in the result.
Переопределяется в MysqliResult.
См. определение в файле result.php строка 366
setConverters | ( | $converters | ) |
callable[] | $converters |
См. определение в файле result.php строка 301
setCount | ( | $n | ) |
setReplacedAliases | ( | array | $replacedAliases | ) |
Sets list of aliased columns. This allows to overcome database limits on length of the column names.
string[] | $replacedAliases | Aliases map from tech to human. |
См. определение в файле result.php строка 92
setSerializedFields | ( | array | $serializedFields | ) |
Sets internal list of fields which will be unserialized on fetch.
array | $serializedFields | List of fields. |
См. определение в файле result.php строка 117
|
protected |
См. определение в файле result.php строка 22
|
protected |
См. определение в файле result.php строка 29
|
protected |
См. определение в файле result.php строка 38
|
protected |
См. определение в файле result.php строка 35
|
protected |
См. определение в файле result.php строка 33
|
protected |
См. определение в файле result.php строка 24
|
protected |
См. определение в файле result.php строка 31
|
protected |
См. определение в файле result.php строка 26