[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 209 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PDOCollector:: (11 methods):
__construct()
setRenderSqlWithParams()
isSqlRenderedWithParams()
getSqlQuotationChar()
addConnection()
getConnections()
collect()
collectPDO()
getName()
getWidgets()
getAssets()
Class: PDOCollector - X-Ref
Collects data about SQL statements executed with PDO__construct(\PDO $pdo = null, TimeDataCollector $timeCollector = null) X-Ref |
param: \PDO $pdo param: TimeDataCollector $timeCollector |
setRenderSqlWithParams($enabled = true, $quotationChar = '<>') X-Ref |
Renders the SQL of traced statements with params embeded param: boolean $enabled |
isSqlRenderedWithParams() X-Ref |
return: bool |
getSqlQuotationChar() X-Ref |
return: string |
addConnection(\PDO $pdo, $name = null) X-Ref |
Adds a new PDO instance to be collector param: TraceablePDO $pdo param: string $name Optional connection name |
getConnections() X-Ref |
Returns PDO instances to be collected return: array |
collect() X-Ref |
return: array |
collectPDO(TraceablePDO $pdo, TimeDataCollector $timeCollector = null, $connectionName = null) X-Ref |
Collects data from a single TraceablePDO instance param: TraceablePDO $pdo param: TimeDataCollector $timeCollector param: string|null $connectionName the pdo connection (eg default | read | write) return: array |
getName() X-Ref |
return: string |
getWidgets() X-Ref |
return: array |
getAssets() X-Ref |
return: array |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |