# detail

class detail

## Properties

protected | $detail_prefix |  |
protected | $detail_suffix |  |
| $record_title |  |
| $metadata |  |
| $image_src |  |
| $notes |  |
| $subjects |  |

## Methods

void
__construct($dbs, int $int_detail_id, str $str_output_format = 'html')

Class Constructor

setTemplate($str_template_path)

No description

void
showDetail()

Method to print out the document detail based on template

mix
getAttachments()

Method to get file attachments information of biblio

embed($url)

No description

string
getItemCopy()

Method to get items/copies information of biblio

string
getRelatedBiblio()

Method to get other version of biblio

array
getBiblioCustom()

Method to get biblio custom data

array
htmlOutput()

Record detail output in HTML mode

array
MODSoutput()

Record detail output in MODS (Metadata Object Description Schema) XML mode

string
DublinCoreOutput()

Record detail output in Dublin Core XML

string
JSONLDoutput()

Record detail output in JSON-LD (JSON-Linked Data)

getPrefix()

Get Record detail prefix

getSuffix()

Get Record detail suffix

getError()

No description

## Details

###
at line 61
`void __construct($dbs, int $int_detail_id, str $str_output_format = 'html')`

Class Constructor

#### Parameters

| $dbs |
int | $int_detail_id |
str | $str_output_format |

#### Return Value

void |

###
at line 81
`setTemplate($str_template_path)`

No description

#### Parameters

| $str_template_path |

###
at line 92
`void showDetail()`

Method to print out the document detail based on template

#### Return Value

void |

###
at line 138
`mix getAttachments()`

Method to get file attachments information of biblio

#### Return Value

mix |

###
at line 222
`embed($url)`

No description

#### Parameters

| $url |

###
at line 238
`string getItemCopy()`

Method to get items/copies information of biblio

#### Return Value

string |

###
at line 300
`string getRelatedBiblio()`

Method to get other version of biblio

#### Return Value

string |

###
at line 349
`array getBiblioCustom()`

Method to get biblio custom data

#### Return Value

array |

###
at line 416
`protected array htmlOutput()`

Record detail output in HTML mode

#### Return Value

array |

###
at line 520
`array MODSoutput()`

Record detail output in MODS (Metadata Object Description Schema) XML mode

#### Return Value

array |

###
at line 789
`string DublinCoreOutput()`

Record detail output in Dublin Core XML

#### Return Value

string |

###
at line 957
`string JSONLDoutput()`

Record detail output in JSON-LD (JSON-Linked Data)

#### Return Value

string |

###
at line 1064
`getPrefix()`

Get Record detail prefix

###
at line 1073
`getSuffix()`

Get Record detail suffix

###
at line 1078
`getError()`

No description