PHP Class sfPropelBaseTask, sfPropelORMPlugin

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

Protected Properties

Свойство Type Description
$additionalPhingArgs
$done

Méthodes publiques

Méthode Description
getConnection ( $databaseManager, $connection )
getConnections ( $databaseManager )
initialize ( sfEventDispatcher $dispatcher, sfFormatter $formatter )

Méthodes protégées

Méthode 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 méthode

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

cleanup() protected méthode

protected cleanup ( $verbose = false )

copyXmlSchemaFromPlugins() protected méthode

protected copyXmlSchemaFromPlugins ( $prefix = '' )

createBuildTimeFile() protected méthode

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

getConnection() public méthode

public getConnection ( $databaseManager, $connection )

getConnections() public méthode

public getConnections ( $databaseManager )

getGeneratorConfig() protected méthode

protected getGeneratorConfig ( $params = [] )

getModels() protected méthode

protected getModels ( $databaseManager, $verbose = false )

getParser() protected méthode

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

getPhingPropertiesForConnection() protected méthode

protected getPhingPropertiesForConnection ( $databaseManager, $connection )

getPlatform() protected méthode

protected getPlatform ( $databaseManager, $connection )

getProperties() protected méthode

protected getProperties ( $file )

initialize() public méthode

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

process() protected méthode

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

schemaToXML() protected méthode

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

schemaToYML() protected méthode

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

Property Details

$additionalPhingArgs protected_oe property

protected $additionalPhingArgs

$done protected_oe static_oe property

protected static $done