Path

ez components / documentation / api reference / trunk / databaseschema


eZ Components trunk

DatabaseSchema: ezcDbSchemaDbReader

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Interface: ezcDbSchemaDbReader

This class provides the interface for database schema readers [source]

Parents

ezcDbSchemaReader
   |
   --ezcDbSchemaDbReader

Method Summary

public ezcDbSchema loadFromDb( $db )
Returns an ezcDbSchema created from the database schema in the database referenced by $db

Inherited Methods

From ezcDbSchemaReader :
public int ezcDbSchemaReader::getReaderType()
Returns what type of schema reader this class implements.

Methods

loadFromDb

ezcDbSchema loadFromDb( $db )
Returns an ezcDbSchema created from the database schema in the database referenced by $db
This method analyses the current database referenced by $db and creates a schema definition out of this. This schema definition is returned as an (@link ezcDbSchema) object.

Parameters

Name Type Description
$db ezcDbHandler  

Last updated: Mon, 10 Nov 2008