[ 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/engine/builder/om/php5/ -> PHP5MapBuilderBuilder.php (sommaire)

(pas de description)

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

Définit 1 class

PHP5MapBuilderBuilder:: (14 méthodes):
  getPackage()
  getClassname()
  addIncludes()
  addClassOpen()
  addClassBody()
  addConstants()
  addAttributes()
  addClassClose()
  addIsBuilt()
  isBuilt()
  addGetDatabaseMap()
  getDatabaseMap()
  addDoBuild()
  doBuild()


Classe: PHP5MapBuilderBuilder  - X-Ref

Generates the PHP5 map builder class for user object model (OM).

This class replaces the MapBuilder.tpl, with the intent of being easier for users
to customize (through extending & overriding).

getPackage()   X-Ref
Gets the package for the map builder classes.

return: string

getClassname()   X-Ref
Returns the name of the current class being built.

return: string

addIncludes(&$script)   X-Ref
Adds the include() statements for files that this class depends on or utilizes.

param: string &$script The script will be modified in this method.

addClassOpen(&$script)   X-Ref
Adds class phpdoc comment and openning of class.

param: string &$script The script will be modified in this method.

addClassBody(&$script)   X-Ref
Specifies the methods that are added as part of the map builder class.
This can be overridden by subclasses that wish to add more methods.


addConstants(&$script)   X-Ref
Adds any constants needed for this MapBuilder class.

param: string &$script The script will be modified in this method.

addAttributes(&$script)   X-Ref
Adds any attributes needed for this MapBuilder class.

param: string &$script The script will be modified in this method.

addClassClose(&$script)   X-Ref
Closes class.

param: string &$script The script will be modified in this method.

addIsBuilt(&$script)   X-Ref
Adds the method that indicates whether this map has already been built.

param: string &$script The script will be modified in this method.

isBuilt()   X-Ref
Tells us if this DatabaseMapBuilder is built so that we
don't have to re-build it every time.

return: boolean true if this DatabaseMapBuilder is built, false otherwise.

addGetDatabaseMap(&$script)   X-Ref
Adds the DatabaseMap accessor method.

param: string &$script The script will be modified in this method.

getDatabaseMap()   X-Ref
Gets the databasemap this map builder built.

return: the databasemap

addDoBuild(&$script)   X-Ref
Adds the main doBuild() method to the map builder class.

param: string &$script The script will be modified in this method.

doBuild()   X-Ref
The doBuild() method builds the DatabaseMap

return: void



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