eZPublish  3.8
eZNullDB Class Reference

The eZNullDB class provides a interface which does nothing. More...

+ Inheritance diagram for eZNullDB:
+ Collaboration diagram for eZNullDB:

Public Member Functions

 arrayQuery ($sql, $params=array())
 
 begin ()
 
 close ()
 
 commit ()
 
 databaseName ()
 
 escapeString ($str)
 
 eZNullDB ($parameters)
 
 lastSerialID ($table, $column)
 
 lock ($table)
 
 query ($sql)
 
 rollback ()
 
 unlock ()
 
- Public Member Functions inherited from eZDBInterface
attribute ($name)
 
 attributes ()
 
 availableDatabases ()
 
 begin ()
 
 beginQuery ()
 
 bindingType ()
 
 bindVariable ($value, $fieldDef=false)
 
 charset ()
 
 checkCharset ($charset, &$currentCharset)
 
 commit ()
 
 commitQuery ()
 
 connectRetryCount ()
 
 connectRetryWaitTime ()
 
 createDatabase ()
 
 createTempTable ($createTableQuery= '')
 
 databaseClientVersion ()
 
 databaseServerVersion ()
 
 dropTempTable ($dropTableQuery= '')
 
 errorMessage ()
 
 errorNumber ()
 
 eZDBInterface ($parameters)
 
 eZTableList ()
 
 generateFailedTransactionStack ()
 
 generateUniqueTempTableName ($pattern, $randomizeIndex=false)
 
 hasAttribute ($name)
 
 hasRequiredServerVersion ($minVersion, $name=false)
 
 implodeWithTypeCast ($glue, &$pieces, $type)
 
 insertFile ($path, $sqlFile, $usePathType=true)
 
 invalidateTransaction ()
 
 isCharsetSupported ($charset)
 
 isTransactionValid ()
 
 relationCount ($relationType=EZ_DB_RELATION_TABLE)
 
 relationCounts ($relationMask)
 
 relationList ($relationType=EZ_DB_RELATION_TABLE)
 
 relationMatchRegexp ($relationType)
 
 removeRelation ($relationName, $relationType)
 
 rollback ()
 
 rollbackQuery ()
 
 setError ()
 
 setIsSQLOutputEnabled ($enabled)
 
 socketPath ()
 
 supportedRelationTypeMask ()
 
 supportedRelationTypes ()
 
 transactionCounter ()
 
 usesBuiltinEncoding ()
 
 useShortNames ()
 
 version ()
 

Additional Inherited Members

- Protected Member Functions inherited from eZDBInterface
 isConnected ()
 
 relationName ($relationType)
 
 reportError ()
 
- Protected Attributes inherited from eZDBInterface
 $Charset
 The charset used for the current database. More...
 
 $ConnectRetries
 The number of times to retry a connection if it fails. More...
 
 $DB
 The current database name. More...
 
 $DBConnection
 The current connection, false if not connection has been made. More...
 
 $DBWriteConnection
 Contains the write database connection if used. More...
 
 $EndTime
 The end time of the tiemr. More...
 
 $ErrorMessage
 The database error message of the last executed function. More...
 
 $ErrorNumber = 0
 The database error message number of the last executed function. More...
 
 $InputTextCodec
 
 $IsConnected = false
 Contains true if we're connected to the database backend. More...
 
 $NumQueries = 0
 Contains number of queries sended to DB. More...
 
 $OutputSQL
 Setting if SQL queries should be sent to debug output. More...
 
 $OutputTextCodec
 Instance of a textcodec which handles text conversion, may not be set if no builtin encoding is used. More...
 
 $Password
 Stores the database connection password. More...
 
 $RecordError = true
 If true then ErrorMessage and ErrorNumber get filled. More...
 
 $Server
 Contains the current server. More...
 
 $SlaveDB
 The slave database name. More...
 
 $SlavePassword
 The slave database user password. More...
 
 $SlaveServer
 The slave server name. More...
 
 $SlaveUser
 The slave database user. More...
 
 $SocketPath
 The socket path, used by MySQL. More...
 
 $StartTime
 The start time of the timer. More...
 
 $TimeTaken
 The total number of milliseconds the timer took. More...
 
 $TransactionCounter
 The transaction counter, 0 means no transaction. More...
 
 $TransactionIsValid
 Flag which tells if a transaction is considered valid or not A transaction will be made invalid if SQL errors occur. More...
 
 $UseBuiltinEncoding
 True if a builtin encoder is to be used, this means that all input/output text is converted. More...
 
 $UsePersistentConnection = false
 If true then the database connection should be persistent. More...
 
 $User
 Stores the database connection user. More...
 
 $UserSlaveServer
 Contains true if slave servers are enabled. More...
 

Detailed Description

The eZNullDB class provides a interface which does nothing.

This class is returned when a proper implementation could not be found.

Member Function Documentation

eZNullDB::arrayQuery (   $sql,
  $params = array() 
)
virtual

Returns false.

Implements eZDBInterface.

eZNullDB::begin ( )

Does nothing.

eZNullDB::close ( )
virtual

Does nothing.

Implements eZDBInterface.

eZNullDB::commit ( )

Does nothing.

eZNullDB::databaseName ( )
virtual

Does nothing.

Implements eZDBInterface.

eZNullDB::escapeString (   $str)
virtual

Returns $str.

Implements eZDBInterface.

eZNullDB::eZNullDB (   $parameters)

Does nothing.

eZNullDB::lastSerialID (   $table,
  $column 
)
virtual

Returns false.

Implements eZDBInterface.

eZNullDB::lock (   $table)
virtual

Does nothing.

Implements eZDBInterface.

eZNullDB::query (   $sql)
virtual

Returns false.

Implements eZDBInterface.

eZNullDB::rollback ( )

Does nothing.

eZNullDB::unlock ( )
virtual

Does nothing.

Implements eZDBInterface.


The documentation for this class was generated from the following file: