Maslosoft Framework Logo Maslosoft Framework Documentation
Flexible Application Foundation


Layout-Less Mode

Some pages should be displayed without layout, for instance sign-in page in pop-up window. To allow layout-less mode use method forceLayout()with it's parameter set to false.

To create URL without layout add parameter of LayoutManager::NoLayout:

$uri = Url::create('uac/auth/login', [LayoutManager::NoLayout => 1]);

Resulting in layout-less URI Sign-in page:

/sign-in/?_noLayout=1

See also URL's in frames.