lagan/property-manytoone

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

Maintainers

👁 lutsen

Package info

github.com/lutsen/property-manytoone

pkg:composer/lagan/property-manytoone

Statistics

Installs: 776

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2016-05-15 17:09 UTC

Requires

  • php: >=5.5.0

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 5c6f504401e16934436d8de0abd9dc610a4c014d

controllerrelationpropertylaganmany-to-one

This package is auto-updated.

Last update: 2026-06-29 01:20:34 UTC


README

👁 Lagan

Lagan Many-to-one Property Controller

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

The Manytoone property type controller enables a many-to-one relation between 2 Lagan models, as described here: http://redbeanphp.com/index.php?p=/many_to_one. The name of the property should be the name of the Lagan model this model can have a many-to-one relation with. For this to work properly the other model should have a one-to-many relation with this model. So in our example in the Lagan project the Lagan Crew model has a many-to-one relation with the Lagan Hoverkraft model, and the Lagan Hoverkraft model has a one-to-many relation with the Lagan Crew model.

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.