https://github.com/lutsen/property-onetoone
Controller for the Lagan one to one property.
https://github.com/lutsen/property-onetoone
lagan php
Last synced: 3 months ago
JSON representation
Controller for the Lagan one to one property.
- Host: GitHub
- URL: https://github.com/lutsen/property-onetoone
- Owner: lutsen
- License: mit
- Created: 2017-06-04T09:00:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T20:57:25.000Z (over 7 years ago)
- Last Synced: 2024-04-10T02:05:36.451Z (about 1 year ago)
- Topics: lagan, php
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[
](https://github.com/lutsen/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](https://github.com/lutsen/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](http://lutsen.net/).