Class JDatabaseDriverPdo
Joomla Platform PDO Database Driver Class
- JDatabase
- 
			 JDatabaseDriver
			
			 implements 
				JDatabaseInterface JDatabaseDriver
			
			 implements 
				JDatabaseInterface
- 
			 JDatabaseDriverPdo JDatabaseDriverPdo
Direct known subclasses
			JDatabaseDriverOracle, 
			JDatabaseDriverPdomysql, 
			JDatabaseDriverSqlite
		
Package: Joomla\Platform\Database
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Link: https://secure.php.net/pdo
Located at joomla/database/driver/pdo.php
Methods summary
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 public 
				boolean
				
				 | |
| 
				 public static
				boolean
				
				 | 
			#
			 isSupported( )Test to see if the PDO extension is available. Override as needed to check for specific PDO Drivers. | 
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				integer
				
				 | 
			#
			 getAffectedRows( )Get the number of affected rows for the previous executed SQL statement. Only applicable for DELETE, INSERT, or UPDATE statements. | 
| 
				 public 
				integer
				
				 | 
			#
			 getNumRows( resource $cursor = null )Get the number of returned rows for the previous executed SQL statement. Only applicable for DELETE, INSERT, or UPDATE statements. | 
| 
				 public 
				string
				
				 | |
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				 | |
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 protected 
				mixed
				
				 | |
| 
				 protected 
				mixed
				
				 | 
			#
			 fetchAssoc( mixed $cursor = null )Method to fetch a row from the result set cursor as an associative array. | 
| 
				 protected 
				mixed
				
				 | 
			#
			 fetchObject( mixed $cursor = null, string $class = 'stdClass' )Method to fetch a row from the result set cursor as an object. | 
| 
				 protected 
				
				
				 | |
| 
				 public 
				mixed
				
				 | 
			#
			 loadNextObject( string $class = 'stdClass' )Method to get the next row in the result set from the database query as an object. | 
| 
				 public 
				mixed
				
				 | 
			#
			 loadNextAssoc( )Method to get the next row in the result set from the database query as an array. | 
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				array
				
				 | |
| 
				 public 
				array
				
				 | |
| 
				 protected 
				integer
				
				 | |
| 
				 protected 
				string
				
				 | 
Methods inherited from JDatabaseDriver
			__call(), 
			addDisconnectHandler(), 
			alterDbCharacterSet(), 
			alterTableCharacterSet(), 
			convertUtf8mb4QueryToUtf8(), 
			createDatabase(), 
			dropTable(), 
			getAlterDbCharacterSet(), 
			getAlterTableCharacterSet(), 
			getCallStacks(), 
			getCollation(), 
			getConnection(), 
			getConnectionCollation(), 
			getConnectors(), 
			getCount(), 
			getCreateDatabaseQuery(), 
			getDatabase(), 
			getDateFormat(), 
			getExporter(), 
			getImporter(), 
			getInstance(), 
			getIterator(), 
			getLog(), 
			getMinimum(), 
			getName(), 
			getNullDate(), 
			getPrefix(), 
			getQuery(), 
			getServerType(), 
			getTableColumns(), 
			getTableCreate(), 
			getTableKeys(), 
			getTableList(), 
			getTimings(), 
			getUTFSupport(), 
			getVersion(), 
			hasUTF8mb4Support(), 
			hasUTFSupport(), 
			insertObject(), 
			isMinimumVersion(), 
			loadAssoc(), 
			loadAssocList(), 
			loadColumn(), 
			loadObject(), 
			loadObjectList(), 
			loadResult(), 
			loadRow(), 
			loadRowList(), 
			lockTable(), 
			quote(), 
			quoteName(), 
			quoteNameStr(), 
			renameTable(), 
			replacePrefix(), 
			setDebug(), 
			splitSql(), 
			truncateTable(), 
			unlockTables(), 
			updateObject()
		
Methods inherited from JDatabase
			getErrorMsg(), 
			getErrorNum(), 
			query(), 
			stderr(), 
			test()
		
Magic methods summary
Magic methods inherited from JDatabaseDriver
Properties summary
| 
				public  
				string
			 | $name | 
				#
				 The name of the database driver. | 
| 
				protected  
				 | $connection | 
				#
				 The database connection resource. | 
| 
				protected  
				string
			 | $nameQuote | 
				#
				 The character(s) used to quote SQL statement names such as table names or field names, etc. The child classes should define this as necessary. If a single character string the same character is used for both sides of the quoted name, else the first character will be used for the opening quote and the second for the closing quote. | 
| 
				protected  
				string
			 | $nullDate | 
				#
				 The null or zero representation of a timestamp for the database driver. This should be defined in child classes to hold the appropriate value for the engine. | 
| 
				protected  
				resource
			 | $prepared | 
				#
				 The prepared statement. | 
| 
				protected  
				array
			 | $executed | 
				#
				 Contains the current query execution status | 
Properties inherited from JDatabaseDriver
			$callStacks, 
			$count, 
			$cursor, 
			$dbMinimum, 
			$debug, 
			$disconnectHandlers, 
			$errorMsg, 
			$errorNum, 
			$instances, 
			$limit, 
			$log, 
			$offset, 
			$options, 
			$serverType, 
			$sql, 
			$tablePrefix, 
			$timings, 
			$transactionDepth, 
			$utf, 
			$utf8mb4
		
