• GetField("Date Last Modified"); $DateOfRecordCreation = $Schema->GetField("Date Of Record Creation"); $ModParams = new SearchParameterSet(); $ModParams->AddParameter( "< 1 year ago", $DateLastModified ); $RecentlyModifiedSearchLink = "index.php?P=SearchResults&". $ModParams->UrlParameterString(). "&".TransportControlsUI::PNAME_SORTFIELD ."=".$DateLastModified->Id(); # build link to search for recently added resources $AddedParams = new SearchParameterSet(); $AddedParams->AddParameter( "< 1 year ago", $DateOfRecordCreation ); $RecentlyAddedSearchLink = "index.php?P=SearchResults" ."&".$AddedParams->UrlParameterString() ."&".TransportControlsUI::PNAME_SORTFIELD ."=".$DateOfRecordCreation->Id(); # retrieve local collection stats (if any) global $G_CollectionStats; $LocalStats = (isset($G_CollectionStats) && array_key_exists("LocalStats", $G_CollectionStats)) ? $G_CollectionStats["LocalStats"] : []; $ModResourceList = new ItemListUI([ "Date Last Modified" => [ "Heading" => "Date", "ValueFunction" => function ($Item) { return StdLib::getPrettyTimestamp($Item->Get("Date Last Modified")); }, ], "Title" => [ "ValueFunction" => function ($Item) { $Title = $Item->getMapped("Title") ?? ""; return "Id()."\">". htmlspecialchars($Title).""; }, ], "Last Modified By Id" => [ "Heading" => "User", ], ]); $ModResourceList->AddActionButton( "Edit", $Schema->editPage(), "pencil.png" ); $ModResourceList->fieldsSortableByDefault(false); $NewResourceList = clone $ModResourceList; $ModResourceList->Heading("Resources Recently Modified"); $ModResourceList->AddTopButton( "More Recently Modified", $RecentlyModifiedSearchLink ); $NewResourceList->Heading("Resources Recently Added"); $NewResourceList->AddTopButton( "More Recently Added", $RecentlyAddedSearchLink ); ?>

    Metadata Tool Functions

    Display($H_RecentlyModified); ?>
    Display($H_RecentlyAdded); ?>

    Collection Statistics

    $Value) { ?>
    Number of Classifications
    Number of Controlled Names
    Publicly-Visible Resources
    Resources Rated
    Total Number of Resources
    Total Distinct Resource Search Terms
    Stats last updated
     

    Collection Development Resources

    "Dublin Core User Guide", "http://framework.niso.org" => "IMLS Digital Collection Framework", "http://www.openarchives.org" => "Open Archives Initiative", ]; foreach ($CDResources as $Link => $Label) { ?>