Source API for the «PorteAssociations_OneToManyHasMany» class

PorteAssociations_OneToManyHasMany

Public static methods

sanitize

This method is not yet documented.

set

This method is not yet documented.

addRecord

One-to-many from the belongs_to (many) side

return
PorteIterator
Iterator containing the associated records
String
$property, Name
of the property being accessed
PorteRecord
$record
PorteIterator
$assocRecord, Record
to be associated with the current record
addRecords

One-to-many from the belongs_to (many) side

return
PorteIterator
Iterator containing the associated records
String
$property, Name
of the property being accessed
PorteRecord
$record
PorteIterator
$assocRecords, Records
to be associated with the current record
get

One-to-many from the belongs_to (many) side

return
PorteIterator
Iterator containing the associated records
String
$property, Name
of the property being accessed
PorteRecord
$record
array[optional]
$options, Optional
array
deleteRecords

This method is not yet documented.

countRecords

This method is not yet documented.

fromArray

This method is not yet documented.

toArray

This method is not yet documented.