code/pagetypes/MetadataPostcardEntryPage.php
/**
     * Returns a list of previously created metadata postcard records for this page from the session
     * these are output on the page so the user can see a history of records they have added this session.
     *
     * @return ArrayList
     */
Returns a list of previously created metadata postcard records for this page from the session
these are output on the page so the user can see a history of records they have added this session.


Returns a list of previously created metadata postcard records for this page from the session these are output on the page so the user can see a history of records they have added this session .
public function PreviouslyCreatedRecords()
    {
        $createdRecords = new ArrayList();
        if ($this->DisplayRecordList) {
            $records = Session::get('PostcardRecordsCreated_' . $this->ID);
            if ($records) {
                foreach($records as $record) {
                    $createdRecords->push(ArrayData::create(
                        array('Link' => $record)
                    ));
                }
            }
        }
        return $createdRecords;
    }
public function PreviouslyCreatedRecords ( ) { $ createdRecords = new ArrayList ( ) ; if ( $ this -> DisplayRecordList ) { $ records = Session :: get ( 'PostcardRecordsCreated_' . $ this -> ID ) ; if ( $ records ) { foreach ( $ records as $ record ) { $ createdRecords -> push ( ArrayData :: create ( array ( 'Link' => $ record ) ) ) ; } } } return $ createdRecords ; }
Returns a list of previously created metadata postcard records for this page from the session
 these are output on the page so the user can see a history of records they have added this session.
Returns a list of previously created metadata postcard records for this page from the session these are output on the page so the user can see a history of records they have added this session .
// Only if we are to display the records added this session then get the info for that.