Propel API
Class

PHP5MultiExtendObjectBuilder

class PHP5MultiExtendObjectBuilder extends ObjectBuilder

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.

Methods

__construct(Table $table)

Constructs a new PeerBuilder subclass.

from ObjectBuilder
boolean hasBehaviorModifier($hookName, $modifier = null)

Checks whether any registered behavior on that table has a modifier for a hook

from ObjectBuilder
applyBehaviorModifier($hookName, $script, $tab = ' ')

Checks whether any registered behavior on that table has a modifier for a hook

from ObjectBuilder
getBehaviorContent(string $contentName)

Checks whether any registered behavior content creator on that table exists a contentName

from ObjectBuilder
string getUnprefixedClassname()

Returns the name of the current class being built.

string getPackage()

Override method to return child package, if specified.

setChild(Inheritance $child)

Set the child object that we're operating on currrently.

Inheritance getChild()

Returns the child object we're operating on currently.

Details

in ObjectBuilder at line 30
public __construct(Table $table)

Constructs a new PeerBuilder subclass.

Parameters

Table $table

in ObjectBuilder at line 182
public boolean hasBehaviorModifier($hookName, $modifier = null)

Checks whether any registered behavior on that table has a modifier for a hook

Parameters

$hookName
$modifier

Return Value

boolean

in ObjectBuilder at line 192
public applyBehaviorModifier($hookName, $script, $tab = ' ')

Checks whether any registered behavior on that table has a modifier for a hook

Parameters

$hookName
$script
$tab

in ObjectBuilder at line 201
public getBehaviorContent(string $contentName)

Checks whether any registered behavior content creator on that table exists a contentName

Parameters

string $contentName The name of the content as called from one of this class methods, e.g. "parentClassname"

at line 34
public string getUnprefixedClassname()

Returns the name of the current class being built.

Return Value

string

at line 43
public string getPackage()

Override method to return child package, if specified.

Return Value

string

at line 52
public setChild(Inheritance $child)

Set the child object that we're operating on currrently.

Parameters

Inheritance $child Inheritance

at line 62
public Inheritance getChild()

Returns the child object we're operating on currently.

Return Value

Inheritance

Exceptions

BuildException - if child was not set.