[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/addon/propel/generator/ -> sfPropelCrudGenerator.class.php (sommaire)

(pas de description)

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

Définit 1 class

sfPropelCrudGenerator:: (6 méthodes):
  initialize()
  loadPrimaryKeys()
  loadMapBuilderClasses()
  getPHPObjectHelper()
  getColumnGetter()
  getRelatedClassName()


Classe: sfPropelCrudGenerator  - X-Ref

Propel CRUD generator.

This class generates a basic CRUD module with propel.

initialize($generatorManager)   X-Ref
Initializes the current sfGenerator instance.

param: sfGeneratorManager A sfGeneratorManager instance

loadPrimaryKeys()   X-Ref
Loads primary keys.

This method is ORM dependant.


loadMapBuilderClasses()   X-Ref
Loads map builder classes.

This method is ORM dependant.


getPHPObjectHelper($helperName, $column, $params, $localParams = array()   X-Ref
Generates a PHP call to an object helper.

param: string The helper name
param: string The column name
param: array  An array of parameters
param: array  An array of local parameters
return: string PHP code

getColumnGetter($column, $developed = false, $prefix = '')   X-Ref
Returns the getter either non-developped: 'getFoo' or developped: '$class->getFoo()'.

param: string  The column name
param: boolean true if you want developped method names, false otherwise
param: string The prefix value
return: string PHP code

getRelatedClassName($column)   X-Ref
Pas de description



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