https://github.com/lutsen/property-position
Controller for the Lagan position property.
https://github.com/lutsen/property-position
lagan php
Last synced: 9 months ago
JSON representation
Controller for the Lagan position property.
- Host: GitHub
- URL: https://github.com/lutsen/property-position
- Owner: lutsen
- License: mit
- Created: 2016-05-07T16:26:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T20:57:01.000Z (almost 8 years ago)
- Last Synced: 2025-03-03T18:46:38.545Z (10 months ago)
- Topics: lagan, php
- Language: PHP
- Homepage:
- Size: 6.84 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 Position Property Controller
==================================
Controller for the Lagan Position property.
Makes room for the newly positioned Redbean bean by updating the positions of other beans, and returns the new position of the bean.
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.
The position property as an optional *manytoone* key in the property array. With this key, you can set the position relative to the opject the current object has a many-to-one relation with, like this: `'manytoone' => 'page'`
Lagan is a project of [Lútsen Stellingwerff](http://lutsen.net/).