class IdMethodParameter extends MappingModel
Information related to an ID method strategy.
Methods
__construct() | from MappingModel | |
loadMapping(array $attributes)
Loads a mapping definition from an array. |
from MappingModel | |
array |
getAttributes()
Returns all definition attributes. |
from MappingModel |
mixed |
getAttribute(string $name, mixed $default = null)
Returns a particular attribute by a case-insensitive name. |
from MappingModel |
appendXml(DOMNode $node)
Appends DOM elements to represent this object in XML. |
||
VendorInfo |
addVendorInfo(VendorInfo|array $vendor)
Adds a new VendorInfo instance to this current model object. |
from MappingModel |
VendorInfo |
getVendorInfoForType(string $type)
Returns a VendorInfo object by its type. |
from MappingModel |
string |
getConfiguredBehavior(string $behavior)
Returns the best class name for a given behavior. |
from MappingModel |
string |
toString()
String representation of the current object. |
from MappingModel |
string |
__toString()
String representation of the current object. |
from MappingModel |
getName()
Returns the parameter name. |
||
setName(string $name)
Sets the parameter name. |
||
getValue()
Returns the parameter value. |
||
setValue(mixed $value)
Sets the parameter value. |
||
setTable(Table $parent)
Sets the parent table. |
||
Table |
getTable()
Returns the parent table. |
|
string |
getTableName()
Returns the parent table name. |
Details
in MappingModel at line 27
public
__construct()
in MappingModel at line 38
public
loadMapping(array $attributes)
Loads a mapping definition from an array.
in MappingModel at line 58
public array
getAttributes()
Returns all definition attributes.
All attribute names (keys) are lowercase.
in MappingModel at line 73
public mixed
getAttribute(string $name, mixed $default = null)
Returns a particular attribute by a case-insensitive name.
If the attribute is not set, then the second default value is
returned instead.
at line 103
public
appendXml(DOMNode $node)
Appends DOM elements to represent this object in XML.
in MappingModel at line 138
public VendorInfo
addVendorInfo(VendorInfo|array $vendor)
Adds a new VendorInfo instance to this current model object.
in MappingModel at line 158
public VendorInfo
getVendorInfoForType(string $type)
Returns a VendorInfo object by its type.
in MappingModel at line 176
public string
getConfiguredBehavior(string $behavior)
Returns the best class name for a given behavior.
If not found, the method tries to autoload \Propel\Generator\Behavior\[Bname]\[Bname]Behavior
in MappingModel at line 198
public string
toString()
String representation of the current object.
in MappingModel at line 213
public string
__toString()
String representation of the current object.
at line 38
public
getName()
Returns the parameter name.
at line 48
public
setName(string $name)
Sets the parameter name.
at line 58
public
getValue()
Returns the parameter value.
at line 68
public
setValue(mixed $value)
Sets the parameter value.
at line 78
public
setTable(Table $parent)
Sets the parent table.
at line 88
public Table
getTable()
Returns the parent table.
at line 98
public string
getTableName()
Returns the parent table name.