public static function getLayout()
	{
		if(self::$pageLayout === null)
		{
			global $objPage;

			if($objPage !== null)
			{
				self::$pageLayout = \LayoutModel::findByPk($objPage->layout);
			}
		}

		return self::$pageLayout;
	}
public static function getLayout()
	{
		if(self::$pageLayout === null)
		{
			global $objPage;

			if($objPage !== null)
			{
				self::$pageLayout = \LayoutModel::findByPk($objPage->layout);
			}
		}

		return self::$pageLayout;
	}
public static function getLayout ( ) { if ( self :: $ pageLayout === null ) { global $ objPage ; if ( $ objPage !== null ) { self :: $ pageLayout = \ LayoutModel :: findByPk ( $ objPage -> layout ) ; } } return self :: $ pageLayout ; }
get current layout of current page

@return \LayoutModel|\Model|null
get current layout of current page