Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117887353
kolab_sync_db.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
610 B
Referenced Files
None
Subscribers
None
kolab_sync_db.php
View Options
<?php
/**
* Database layer wrapper with transaction support
*/
class
kolab_sync_db
{
/**
* the database adapter
*
* @var rcube_mdb2
*/
protected
$db
;
public
function
__construct
()
{
$this
->
db
=
rcube
::
get_instance
()->
get_dbh
();
}
public
function
beginTransaction
()
{
$query
=
'BEGIN'
;
$this
->
db
->
query
(
$query
);
}
public
function
commit
()
{
$query
=
'COMMIT'
;
$this
->
db
->
query
(
$query
);
}
public
function
rollBack
()
{
$query
=
'ROLLBACK'
;
$this
->
db
->
query
(
$query
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 6, 2:58 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17890743
Default Alt Text
kolab_sync_db.php (610 B)
Attached To
Mode
rS syncroton
Attached
Detach File
Event Timeline