[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/propel-generator/classes/propel/phing/ -> PropelSQLTask.php (sommaire)

(pas de description)

Poids: 258 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PropelSQLTask:: (8 méthodes):
  setSqlDbMap()
  getSqlDbMap()
  setDatabase()
  getDatabase()
  createSqlDbMap()
  main()
  packageDataModels()
  cloneDatabase()


Classe: PropelSQLTask  - X-Ref

The task for building SQL DDL based on the XML datamodel.

This class uses the new DDLBuilder classes instead of the Capsule PHP templates.

setSqlDbMap(PhingFile $sqldbmap)   X-Ref
Set the sqldbmap.

param: PhingFile $sqldbmap The db map.

getSqlDbMap()   X-Ref
Get the sqldbmap.

return: PhingFile $sqldbmap.

setDatabase($database)   X-Ref
Set the database name.

param: string $database

getDatabase()   X-Ref
Get the database name.

return: string

createSqlDbMap()   X-Ref
Create the sql -> database map.


main()   X-Ref
Pas de description

packageDataModels()   X-Ref
Packages the datamodels to one datamodel per package

This applies only when the the packageObjectModel option is set. We need to
re-package the datamodels to allow the database package attribute to control
which tables go into which SQL file.

return: array The packaged datamodels

cloneDatabase($db)   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7