Defining and using one-to-one associations

Note, this type of relation is not yet fully handled but it is planned and will come shortly.

Available methods

Setting up the "belongs_to" property

The following keys may be used:

Once a property is clean up by its model, the resulting config is:

Setting up the "has_one" property

The following keys may be used:

Once a property is clean up by its model, the resulting config is:

Open Source Object Relational Mapping in PHP

Download Porte 0.2.1