lagan/property-onetoone

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Controller for the Lagan one-to-one property. Lets the user define a one-to-one relation between two content objects.

dev-master 2018-01-29 20:57 UTC

This package is auto-updated.

Last update: 2021-12-03 13:42:32 UTC


README

Lagan

Lagan One-to-one Property Controller

Controller for the Lagan one-to-one property.
Lets the user define a one-to-one relation between two content objects.

The Onetoone property type controller enables a one-to-one relation between 2 Lagan models. The name of the property should be the name of the Lagan model this model can have a one-to-one relation with. Unlike the many-to-many, many-to-one and one-to-many relations, the Lagan model this model can have a one-to-one relation with should NOT have a one-to-one relation with this model as well.

A property type controller can contain a set, read, delete and options method. All methods are optional.

To be used with Lagan. Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.

Lagan is a project of Lútsen Stellingwerff.