class PHP5ExtensionPeerBuilder extends PeerBuilder
Generates the empty PHP5 stub peer 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 PeerBuilder | |
string |
getRetrieveMethodName()
Returns the retrieveByPK method name to use for this table. |
from PeerBuilder |
static string |
getColumnName(Column $col, string $phpName = null)
COMPATIBILITY: Get the column constant name (e.g. |
from PeerBuilder |
boolean |
hasBehaviorModifier($hookName, $modifier = null)
Checks whether any registered behavior on that table has a modifier for a hook |
from PeerBuilder |
applyBehaviorModifier($hookName, $script, $tab = ' ')
Checks whether any registered behavior on that table has a modifier for a hook |
from PeerBuilder | |
getBehaviorContent(string $contentName)
Checks whether any registered behavior content creator on that table exists a contentName |
from PeerBuilder | |
string |
getBasePeerClassname()
Get the BasePeer class name for the current table (e.g. |
from PeerBuilder |
string |
getUnprefixedClassname()
Returns the name of the current class being built. |
Details
in PeerBuilder at line 33
public
__construct(Table $table)
Constructs a new PeerBuilder subclass.
in PeerBuilder at line 239
public string
getRetrieveMethodName()
Returns the retrieveByPK method name to use for this table.
If the table is an alias then the method name looks like "retrieveTablenameByPK"
otherwise simply "retrieveByPK".
in PeerBuilder at line 263
static public string
getColumnName(Column $col, string $phpName = null)
COMPATIBILITY: Get the column constant name (e.g.
PeerName::COLUMN_NAME).
This method exists simply because it belonged to the 'PeerBuilder' that this
class is replacing (because of name conflict more than actual functionality overlap).
When the new builder model is finished this method will be removed.
in PeerBuilder at line 283
public boolean
hasBehaviorModifier($hookName, $modifier = null)
Checks whether any registered behavior on that table has a modifier for a hook
in PeerBuilder at line 293
public
applyBehaviorModifier($hookName, $script, $tab = ' ')
Checks whether any registered behavior on that table has a modifier for a hook
in PeerBuilder at line 302
public
getBehaviorContent(string $contentName)
Checks whether any registered behavior content creator on that table exists a contentName
in PeerBuilder at line 312
public string
getBasePeerClassname()
Get the BasePeer class name for the current table (e.g.
'BasePeer')
at line 29
public string
getUnprefixedClassname()
Returns the name of the current class being built.