lib/ezdbschema/classes/ezdbschema.php

Show: inherited
Table of Contents

File containing the eZDbSchema class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZDbSchema

Package: lib

File containing the eZDbSchema class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Methods

methodpublicgenerateUpgradeFile(  $differences ) : void
static

Parameters
Name Type Description
$differences
methodpublicinstance( array | \eZDBInterface | false $params = false ) : \eZDBSchemaInterface | false
static

Returns a shared instance of the eZDBSchemaInterface class.

Parameters
Name Type Description
$params array | \eZDBInterface | false

If array, following key is needed: - instance: the eZDB instance (optional), if none provided, eZDB::instance() will be used.

Returns
Type Description
\eZDBSchemaInterface | false
methodpublicmerge(  $schema1,  $schema2 ) : array
static

Merges 2 db schemas, basically appending 2nd on top of 1st

Parameters
Name Type Description
$schema1
$schema2
Returns
Type Description
array the merged schema
methodpublicread(  $filename,  $returnArray = false ) : void
static

Parameters
Name Type Description
$filename
$returnArray
methodpublicreadArray(  $filename ) : void
static

Parameters
Name Type Description
$filename
methodpublicwriteUpgradeFile(  $differences,  $filename ) : void
static

Parameters
Name Type Description
$differences
$filename
Documentation was generated by DocBlox 0.18.1.