webmcp

view framework/env/slot/layout_is_set.lua @ 543:a886e263b534

Bugfix regarding 1:1 relations: allow setting one class as primary class (needed to avoid endless recursion in foreign key lookups)
author jbe
date Sat Oct 19 18:55:24 2019 +0200 (2019-10-19)
parents 93ebbc1e5dbc
children
line source
1 --[[--
2 bool = -- set to true if layout has been set explicitly during processing request
3 slot.layout_is_set()
5 Returns true if slot.set_layout(...) has been called during handling of a request.
7 --]]--
9 function slot.layout_is_set()
10 return slot._layout_set
11 end

Impressum / About Us