class Doctrine_Export_Schema (View source)

Doctrine_Export_Schema

Used for exporting a schema to a yaml file

Methods

void
buildSchema(string $directory = null, array $models = array(), integer $modelLoading = null)

buildSchema

void
exportSchema($schema, $format = 'yml', $directory = null, $models = array(), $modelLoading = null)

exportSchema

Details

void buildSchema(string $directory = null, array $models = array(), integer $modelLoading = null)

buildSchema

Build schema array that can be dumped to file

Parameters

string $directory The directory of models to build the schema from
array $models The array of model names to build the schema for
integer $modelLoading The model loading strategy to use to load the models from the passed directory

Return Value

void

void exportSchema($schema, $format = 'yml', $directory = null, $models = array(), $modelLoading = null)

exportSchema

Parameters

$schema
$format
$directory
$models
$modelLoading

Return Value

void