## /functions/utilFuncs.php

Description
Functions
displayFields (line 17)

******************************************************************************* Determine the first 'n' rows to be displayed for a particulra media type' choice is to be based on information collected in the media_display table.

- return: of fields in display position order

array displayFields (input $whichMedia, input $howMany)

- input $whichMedia: int whichMedia for media type wanted
- input $howMany: int howMany for number of fields to be provided

getSrchTags (line 89)

******************************************************************************* get a single group of MARC tags from the tagGroup file as specified by the user.

********************************************************************************

void getSrchTags ( $which)

- $which

getTagGroups (line 46)

******************************************************************************* gets groups of MARC tags from the tagGroup file and presents them to PHP as an associative array of display types.

Output may be decoded or left in original JSOn form. ********************************************************************************

void getTagGroups ([ $decode = true])

- $decode

json_decode_nice (line 33)

******************************************************************************* cleans up a potential json string to meet JSON spec then call the decoder.

********************************************************************************

void json_decode_nice ( $json, [ $assoc = FALSE])

- $json
- $assoc

Documentation generated on Sun, 28 Jul 2013 15:07:04 -0400 by phpDocumentor 1.4.4