backup_restore.php
Backup and restore of the ZenPhoto database table content
This plugin provides a means to make backups of your ZenPhoto database content and at a later time restore the database to the contents of one of these backups.
Table of Contents
- HEADER = '__HEADER__'
- OFFSET_PATH = 3
- RECORD_SEPARATOR = ':****:'
- RESPOND_COUNTER = 1000
- TABLE_SEPARATOR = '::'
- extendExecution() : mixed
- fillbuffer() : mixed
- getrow() : mixed
- decompressField() : mixed
- compressRow() : mixed
- decompressRow() : mixed
- writeHeader() : mixed
Constants
HEADER
public
mixed
HEADER
= '__HEADER__'
OFFSET_PATH
public
mixed
OFFSET_PATH
= 3
RECORD_SEPARATOR
public
mixed
RECORD_SEPARATOR
= ':****:'
RESPOND_COUNTER
public
mixed
RESPOND_COUNTER
= 1000
TABLE_SEPARATOR
public
mixed
TABLE_SEPARATOR
= '::'
Functions
extendExecution()
extendExecution() : mixed
Return values
mixed —fillbuffer()
fillbuffer(mixed $handle) : mixed
Parameters
- $handle : mixed
Return values
mixed —getrow()
getrow(mixed $handle) : mixed
Parameters
- $handle : mixed
Return values
mixed —decompressField()
decompressField(mixed $str) : mixed
Parameters
- $str : mixed
Return values
mixed —compressRow()
compressRow(mixed $str, mixed $lvl) : mixed
Parameters
- $str : mixed
- $lvl : mixed
Return values
mixed —decompressRow()
decompressRow(mixed $str) : mixed
Parameters
- $str : mixed
Return values
mixed —writeHeader()
writeHeader(mixed $type, mixed $value) : mixed
Parameters
- $type : mixed
- $value : mixed