These docs are now deprecated, we have a new Support area located here
pagelines_layout_mode returns the current layout mode.
Since 1.0.0
pagelines_layout_mode() is located in includes/class.layout.php