PHP FOF30\Model\DataModel\Relation Namespace

Classes

Name Description
BelongsTo BelongsTo (reverse 1-to-1 or 1-to-many) relation: this model is a child which belongs to the foreign table
BelongsToMany BelongsToMany (many-to-many) relation: one or more records of this model are related to one or more records in the foreign model.
HasMany HasMany (1-to-many) relation: this model is a parent which has zero or more children in the foreign table
HasOne HasOne (straight 1-to-1) relation: this model is a parent which has exactly one child in the foreign table