static function LastContainerModLog(Container $container)
    {
        $lastLog = self::LastContainerLog($container);
        $containerContents = ContainerContent::Schema()->FetchByContainer(false, $container);
        foreach ($containerContents as $containerContent)
        {
            $content = $containerContent->GetContent();
            $contentLog = self::LastContentModLog($content, null);
            if (self::IsAfter($contentLog, $lastLog))
            {
                $lastLog = $contentLog;
            }
        }
        return $lastLog;
    }
static function LastContainerModLog(Container $container)
    {
        $lastLog = self::LastContainerLog($container);
        $containerContents = ContainerContent::Schema()->FetchByContainer(false, $container);
        foreach ($containerContents as $containerContent)
        {
            $content = $containerContent->GetContent();
            $contentLog = self::LastContentModLog($content, null);
            if (self::IsAfter($contentLog, $lastLog))
            {
                $lastLog = $contentLog;
            }
        }
        return $lastLog;
    }
static function LastContainerModLog ( Container $ container ) { $ lastLog = self :: LastContainerLog ( $ container ) ; $ containerContents = ContainerContent :: Schema ( ) -> FetchByContainer ( false , $ container ) ; foreach ( $ containerContents as $ containerContent ) { $ content = $ containerContent -> GetContent ( ) ; $ contentLog = self :: LastContentModLog ( $ content , null ) ; if ( self :: IsAfter ( $ contentLog , $ lastLog ) ) { $ lastLog = $ contentLog ; } } return $ lastLog ; }
Gets the last container modification log item
@param Container $container The container
@return LogItem Returns the last log item that changed anything related to the container
Gets the last container modification log item