static function LastLayoutModLog(Layout $layout)
    {
        $lastLog = $this->LastLayoutLog($layout);
        $areas = Area::Schema()->FetchByLayout(false, $layout);
        foreach ($areas as $area)
        {
            $areaLog = self::LastAreaModLog($area);
            if (self::IsAfter($areaLog, $lastLog))
            {
                $lastLog = $areaLog;
            }
        }
        return $lastLog;
    }
static function LastLayoutModLog(Layout $layout)
    {
        $lastLog = $this->LastLayoutLog($layout);
        $areas = Area::Schema()->FetchByLayout(false, $layout);
        foreach ($areas as $area)
        {
            $areaLog = self::LastAreaModLog($area);
            if (self::IsAfter($areaLog, $lastLog))
            {
                $lastLog = $areaLog;
            }
        }
        return $lastLog;
    }
static function LastLayoutModLog ( Layout $ layout ) { $ lastLog = $ this -> LastLayoutLog ( $ layout ) ; $ areas = Area :: Schema ( ) -> FetchByLayout ( false , $ layout ) ; foreach ( $ areas as $ area ) { $ areaLog = self :: LastAreaModLog ( $ area ) ; if ( self :: IsAfter ( $ areaLog , $ lastLog ) ) { $ lastLog = $ areaLog ; } } return $ lastLog ; }
Gets the last layout modification log item
@param Layout $layout The layout
@return LogItem Returns the last log item that changed anything related to the layout
Gets the last layout modification log item