Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

eznulldb.php
Go to the documentation of this file.
1 <?php
19 class eZNullDB extends eZDBInterface
20 {
24 function databaseName()
25 {
26 return 'null';
27 }
28
32 function query( $sql, $server = false )
33 {
34 return false;
35 }
36
40 function arrayQuery( $sql, $params = array(), $server = false )
41 {
42 return false;
43 }
44
48 function lock( $table )
49 {
50 }
51
55 function unlock()
56 {
57 }
58
62 function begin()
63 {
64 }
65
69 function commit()
70 {
71 }
72
76 function rollback()
77 {
78 }
79
87 function lastSerialID( $table = false, $column = false )
88 {
89 return false;
90 }
91
95 function escapeString( $str )
96 {
97 return $str;
98 }
99
103 function close()
104 {
105 }
106 }
107
108 ?>
eZDBInterface
Definition: ezdbinterface.php:20
eZNullDB
The eZNullDB class provides a interface which does nothing.
Definition: eznulldb.php:20
eZNullDB\query
query( $sql, $server=false)
Definition: eznulldb.php:32
eZNullDB\lock
lock( $table)
Definition: eznulldb.php:48
eZNullDB\begin
begin()
Definition: eznulldb.php:62
eZNullDB\close
close()
Definition: eznulldb.php:103
eZNullDB\escapeString
escapeString( $str)
Definition: eznulldb.php:95
eZNullDB\databaseName
databaseName()
Definition: eznulldb.php:24
eZNullDB\commit
commit()
Definition: eznulldb.php:69
eZNullDB\lastSerialID
lastSerialID( $table=false, $column=false)
Definition: eznulldb.php:87
eZNullDB\rollback
rollback()
Definition: eznulldb.php:76
eZNullDB\arrayQuery
arrayQuery( $sql, $params=array(), $server=false)
Definition: eznulldb.php:40
eZNullDB\unlock
unlock()
Definition: eznulldb.php:55
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.