XOOPS  2.6.0
Xoops\Core\Database\Schema\ImportSchema Class Reference

Public Member Functions

 __construct ()
 
 importSchemaArray (array $schemaArray)
 
 importSequences (array $sequenceArray)
 
 importTables (array $tableArray)
 

Private Attributes

 $schemaArray = array()
 
 $xDbName = ''
 
 $xPrefix = ''
 

Detailed Description

Definition at line 34 of file ImportSchema.php.

Constructor & Destructor Documentation

Xoops\Core\Database\Schema\ImportSchema::__construct ( )

Constructor

Definition at line 44 of file ImportSchema.php.

References XoopsBaseConfig\get().

Here is the call graph for this function:

Member Function Documentation

Xoops\Core\Database\Schema\ImportSchema::importSchemaArray ( array  $schemaArray)

Import an array into a schema

Parameters
array$schemaArrayarray version of a schema object
Returns
Schema object built from input array

Definition at line 57 of file ImportSchema.php.

References Xoops\Core\Database\Schema\ImportSchema\$schemaArray, $type, Xoops\Core\Database\Schema\ImportSchema\importSequences(), and Xoops\Core\Database\Schema\ImportSchema\importTables().

Referenced by SystemModule\install(), and SystemModule\update().

Here is the call graph for this function:

Here is the caller graph for this function:

Xoops\Core\Database\Schema\ImportSchema::importSequences ( array  $sequenceArray)

Build array of Sequence objects to add to the schema

Parameters
array$sequenceArrayarray of table definitions
Returns
array of Sequence objects

Definition at line 144 of file ImportSchema.php.

References $name.

Referenced by Xoops\Core\Database\Schema\ImportSchema\importSchemaArray().

Here is the caller graph for this function:

Xoops\Core\Database\Schema\ImportSchema::importTables ( array  $tableArray)

Build array of Table objects to add to the schema

Parameters
array$tableArrayarray of table definitions
Returns
array of Table objects

Definition at line 82 of file ImportSchema.php.

References $name, and $options.

Referenced by Xoops\Core\Database\Schema\ImportSchema\importSchemaArray().

Here is the caller graph for this function:

Member Data Documentation

Xoops\Core\Database\Schema\ImportSchema::$schemaArray = array()
private
Xoops\Core\Database\Schema\ImportSchema::$xDbName = ''
private

Definition at line 38 of file ImportSchema.php.

Xoops\Core\Database\Schema\ImportSchema::$xPrefix = ''
private

Definition at line 37 of file ImportSchema.php.


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