Skip to content

Instantly share code, notes, and snippets.

@dcnb
Created June 8, 2015 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcnb/210bcedde633433d5d84 to your computer and use it in GitHub Desktop.
Save dcnb/210bcedde633433d5d84 to your computer and use it in GitHub Desktop.
Revision of Array in Version3Cachefile.class.php
$this->data = array(
'cachefile' => $cachefile,
'title' => (string)$ohfile->record->title,
'accession' => (string)$ohfile->record->accession,
'chunks' => (string)$ohfile->record->sync,
'time_length' => (string)$ohfile->record->duration,
'collection' => (string)$ohfile->record->collection_name,
'series' => (string)$ohfile->record->series_name,
'fmt' => (string)$ohfile->record->fmt,
'media_url' => (string)$ohfile->record->media_url,
'file_name' => (string)$ohfile->record->file_name,
'rights' => (string)$ohfile->record->rights,
'usage' => (string)$ohfile->record->usage,
'repository' => (string)$ohfile->record->repository
);
$this->data = array(
'cachefile' => $cachefile,
'title' => (string)$ohfile->record->title,
'description' => (string)$ohfile->record->description,
'interviewee' => (string)$ohfile->record->interviewee,
'date' => (string)$ohfile->record->date,
'intnum' => (string)$ohfile->record->intnum,
'cms_record_id' => (string)$ohfile->record->cms_record_id,
'xmlfilename' => (string)$ohfile->record->xmlfilename,
'birthyear' => (string)$ohfile->record->birthyear,
'occupation' => (string)$ohfile->record->occupation ,
'residence' => (string)$ohfile->record->residence ,
'origin' => (string)$ohfile->record->origin,
'keywords' => (string)$ohfile->record->keywords,
'locations' => (string)$ohfile->record->locations,
'accession' => (string)$ohfile->record->accession,
'chunks' => (string)$ohfile->record->sync,
'time_length' => (string)$ohfile->record->duration,
'collection' => (string)$ohfile->record->collection_name,
'series' => (string)$ohfile->record->series_name,
'fmt' => (string)$ohfile->record->fmt,
'media_url' => (string)$ohfile->record->media_url,
'file_name' => (string)$ohfile->record->file_name,
'rights' => (string)$ohfile->record->rights,
'usage' => (string)$ohfile->record->usage,
'repository' => (string)$ohfile->record->repository,
'collection_link' => (string)$ohfile->record->collection_link,
'series_link' => (string)$ohfile->record->series_link,
'disp_name' => (string)$ohfile->record->disp_name,
'previous' => (string)$ohfile->record->previous,
'next' => (string)$ohfile->record->next
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment