PHP Class sfPropelBaseTask, sfPropelORMPlugin

Author: Fabien Potencier ([email protected])
Inheritance: extends sfBaseTask
Show file Open project: propelorm/sfPropelORMPlugin Class Usage Examples

Protected Properties

Property Type Description
$additionalPhingArgs
$done

Public Methods

Method Description
getConnection ( $databaseManager, $connection )
getConnections ( $databaseManager )
initialize ( sfEventDispatcher $dispatcher, sfFormatter $formatter )

Protected Methods

Method Description
callPhing ( $taskName, $checkSchema, $properties = [] )
cleanup ( $verbose = false )
copyXmlSchemaFromPlugins ( $prefix = '' )
createBuildTimeFile ( $databaseManager, string $file ) Write an XML file which represents propel.configuration
getGeneratorConfig ( $params = [] )
getModels ( $databaseManager, $verbose = false )
getParser ( $databaseManager, $connection, $con )
getPhingPropertiesForConnection ( $databaseManager, $connection )
getPlatform ( $databaseManager, $connection )
getProperties ( $file )
process ( sfCommandManager $commandManager, $options )
schemaToXML ( $checkSchema = self::CHECK_SCHEMA, $prefix = '', $verbose = false )
schemaToYML ( $checkSchema = self::CHECK_SCHEMA, $prefix = '', $verbose = false )

Method Details

callPhing() protected method

protected callPhing ( $taskName, $checkSchema, $properties = [] )

cleanup() protected method

protected cleanup ( $verbose = false )

copyXmlSchemaFromPlugins() protected method

protected copyXmlSchemaFromPlugins ( $prefix = '' )

createBuildTimeFile() protected method

Write an XML file which represents propel.configuration
protected createBuildTimeFile ( $databaseManager, string $file )
$databaseManager
$file string Should be 'buildtime-conf.xml'.

getConnection() public method

public getConnection ( $databaseManager, $connection )

getConnections() public method

public getConnections ( $databaseManager )

getGeneratorConfig() protected method

protected getGeneratorConfig ( $params = [] )

getModels() protected method

protected getModels ( $databaseManager, $verbose = false )

getParser() protected method

protected getParser ( $databaseManager, $connection, $con )

getPhingPropertiesForConnection() protected method

protected getPhingPropertiesForConnection ( $databaseManager, $connection )

getPlatform() protected method

protected getPlatform ( $databaseManager, $connection )

getProperties() protected method

protected getProperties ( $file )

initialize() public method

public initialize ( sfEventDispatcher $dispatcher, sfFormatter $formatter )
$dispatcher sfEventDispatcher
$formatter sfFormatter

process() protected method

protected process ( sfCommandManager $commandManager, $options )
$commandManager sfCommandManager

schemaToXML() protected method

protected schemaToXML ( $checkSchema = self::CHECK_SCHEMA, $prefix = '', $verbose = false )

schemaToYML() protected method

protected schemaToYML ( $checkSchema = self::CHECK_SCHEMA, $prefix = '', $verbose = false )

Property Details

$additionalPhingArgs protected property

protected $additionalPhingArgs

$done protected static property

protected static $done