Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
DbDumper Class Reference

Public Member Functions

 getDump ()

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.

Creates DB dump.

Definition at line 12 of file DbDumper.php.

Member Function Documentation

DbDumper::getDump ( )

Dump all tables

Returns
file|strings

Definition at line 21 of file DbDumper.php.

{
ob_start();
foreach ($this->_getTables() as $key => $val) {
$this->_dumpTable($key);
}
$result = $this->_setHeader();
$result .= ob_get_contents();
$result .= $this->_getConstraints();
$result .= $this->_setFooter();
ob_end_clean();
return $result;
}

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