Propel API
Class

PropelQuickBuilder

class PropelQuickBuilder

Methods

setClassTargets(array $targets)

setSchema($schema)

setPlatform(PropelPlatformInterface $platform)

Setter for the platform property

PropelPlatformInterface getPlatform()

Getter for the platform property

setConfig(GeneratorConfigInterface $config)

Setter for the config property

GeneratorConfigInterface getConfig()

Getter for the config property

static  buildSchema($schema, $dsn = null, $user = null, $pass = null, $adapter = null)

build($dsn = null, $user = null, $pass = null, $adapter = null, array $classTargets = null)

getDatabase()

buildSQL(PDO $con)

getSQL()

buildClasses(array $classTargets = null)

getClasses(array $classTargets = null)

getClassesForTable(Table $table, array $classTargets = null)

static  debugClassesForTable($schema, $tableName)

Details

at line 20
public setClassTargets(array $targets)

Parameters

array $targets

at line 25
public setSchema($schema)

Parameters

$schema

at line 35
public setPlatform(PropelPlatformInterface $platform)

Setter for the platform property

Parameters

PropelPlatformInterface $platform

at line 45
public PropelPlatformInterface getPlatform()

Getter for the platform property

at line 60
public setConfig(GeneratorConfigInterface $config)

Setter for the config property

Parameters

GeneratorConfigInterface $config

at line 70
public GeneratorConfigInterface getConfig()

Getter for the config property

at line 80
static public buildSchema($schema, $dsn = null, $user = null, $pass = null, $adapter = null)

Parameters

$schema
$dsn
$user
$pass
$adapter

at line 88
public build($dsn = null, $user = null, $pass = null, $adapter = null, array $classTargets = null)

Parameters

$dsn
$user
$pass
$adapter
array $classTargets

at line 114
public getDatabase()

at line 126
public buildSQL(PDO $con)

Parameters

PDO $con

at line 144
public getSQL()

at line 149
public buildClasses(array $classTargets = null)

Parameters

array $classTargets

at line 154
public getClasses(array $classTargets = null)

Parameters

array $classTargets

at line 164
public getClassesForTable(Table $table, array $classTargets = null)

Parameters

Table $table
array $classTargets

at line 233
static public debugClassesForTable($schema, $tableName)

Parameters

$schema
$tableName