| propel-util |
| [ class tree: propel-util ] [ index: propel-util ] [ all elements ] |
|
Packages: propel propel-adapter propel-adapter-MSSQL propel-logger propel-map propel-om propel-util propel-validator Files:
BasePeer.php
Criteria.php DebugPDO.php DebugPDOStatement.php Join.php NodePeer.php PropelColumnTypes.php PropelDateTime.php PropelPager.php PropelPDO.php Interfaces: Classes: |
[ Top ] $lastExecutedQuery =[line 136] SQL code of the latest performed query.Tags:
[ Top ] $logger =[line 150] Configured BasicLogger (or compatible) logger.Tags:
[ Top ] $queryCount = 0[line 129] Count of queries performed.Tags:
[ Top ] $statementClass = 'DebugPDOStatement'[line 143] The statement class to use.Tags:
[ Top ] Class Methodsconstructor __construct [line 181]
Creates a DebugPDO instance representing a connection to a database. This method is overridden in order to specify a custom PDOStatement class and to implement logging. Tags:
Parameters:
[ Top ]
destructor __destruct [line 545]
If so configured, makes an entry to the log of the state of this DebugPDO instance just prior to its destruction. Tags:
[ Top ]
method configureStatementClass [line 197]
Configures the PDOStatement class for this connection. Tags:
Parameters:
[ Top ]
method exec [line 309]
Execute an SQL statement and return the number of affected rows. Overridden for query counting and logging. Tags:
Parameters:
[ Top ]
method getDebugSnapshot [line 422]
Returns a snapshot of the current values of some functions useful in debugging. Tags:
[ Top ]
method getLastExecutedQuery [line 268]
Get the SQL code for the latest query executed by Propel Tags:
[ Top ]
method getLoggingConfig [line 440]
Returns a named configuration item from the Propel runtime configuration, from under the 'debugpdo.logging' prefix. If such a configuration setting hasn't been set, the given default value will be returned. Tags:
Parameters:
[ Top ]
method getLogPrefix [line 458]
Returns a prefix that may be prepended to a log line, containing debug information according to the current configuration. Uses a given $debugSnapshot to calculate how much time has passed since the call to self::getDebugSnapshot(), how much the memory consumption by PHP has changed etc. Tags:
Parameters:
[ Top ]
method getQueryCount [line 240]
Returns the number of queries this DebugPDO instance has performed on the database connection. When using DebugPDOStatement as the statement class, any queries by DebugPDOStatement instances are counted as well. Tags:
[ Top ]
method getReadableBytes [line 529]
Returns a human-readable representation of the given byte count. Tags:
Parameters:
[ Top ]
method getStatementClass [line 226]
Gets the custom classname to use for PDOStatement. Tags:
[ Top ]
method incrementQueryCount [line 258]
Increments the number of queries performed by this DebugPDO instance. Returns the original number of queries (ie the value of $this->queryCount before calling this method). Tags:
[ Top ]
method log [line 381]
Logs the method call or SQL using the Propel::log() method or a registered logger class. Tags:
Parameters:
[ Top ]
method prepare [line 292]
Prepares a statement for execution and returns a statement object. Overrides PDO::prepare() to add logging and query counting. Tags:
Overrides PropelPDO::prepare() (Overrides PDO::prepare() to add query caching support if the PropelPDO::PROPEL_ATTR_CACHE_PREPARES was set to true.) Parameters:
[ Top ]
method query [line 330]
Executes an SQL statement, returning a result set as a PDOStatement object. Despite its signature here, this method takes a variety of parameters. Overridden for query counting and logging. Tags:
[ Top ]
method setLastExecutedQuery [line 278]
Set the SQL code for the latest query executed by Propel Tags:
Parameters:
[ Top ]
method setLogger [line 365]
Sets a logger to use. The logger will be used by this class to log various method calls and their properties. Tags:
Parameters:
[ Top ]
method setLogLevel [line 353]
Sets the logging level to use for logging method calls and SQL statements. Tags:
Parameters:
[ Top ]
method setStatementClass [line 215]
Sets the custom classname to use for PDOStatement. It is assumed that the specified classname has been loaded (or can be loaded on-demand with autoload). Tags:
Parameters:
[ Top ]
Class ConstantsDocumentation generated on Tue, 12 Jan 2010 23:08:06 +0000 by phpDocumentor 1.4.3 |