[ 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/ -> PHP5MultiExtendObjectBuilder.php (sommaire)

(pas de description)

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

Définit 1 class

PHP5MultiExtendObjectBuilder:: (12 méthodes):
  getClassname()
  getPackage()
  setChild()
  getChild()
  getParentClasspath()
  getParentClassname()
  getParentClassFilePath()
  addIncludes()
  addClassOpen()
  addClassBody()
  __construct()
  addClassClose()


Classe: PHP5MultiExtendObjectBuilder  - X-Ref

Generates the empty PHP5 stub object class for use with inheritance in the user object model (OM).

This class produces the empty stub class that can be customized with application
business logic, custom behavior, etc.

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

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

return: string

getPackage()   X-Ref
Override method to return child package, if specified.

return: string

setChild(Inheritance $child)   X-Ref
Set the child object that we're operating on currrently.

param: $child Inheritance

getChild()   X-Ref
Returns the child object we're operating on currently.

return: Inheritance

getParentClasspath()   X-Ref
Returns classpath to parent class.

return: string

getParentClassname()   X-Ref
Returns classname of parent class.

return: string

getParentClassFilePath()   X-Ref
Gets the file path to the parent class.

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 stub object class.

By default there are no methods for the empty stub classes; override this method
if you want to change that behavior.


__construct()   X-Ref
Constructs a new ".$this->getChild()->getClassName()." class, setting the ".$col->getName()." column to ".$this->getPeerClassname()."::$const.


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

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



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