Propel API
Class

PHP5ExtensionNodeBuilder

class PHP5ExtensionNodeBuilder extends ObjectBuilder

Generates the empty PHP5 stub node object class for 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.

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 29
public string getUnprefixedClassname()

Returns the name of the current class being built.

Return Value

string