/** * Get subtitle * * @param Boolean $full Get full field data. Else only field c is fetched * * @return String|String[] */ public function getTitleStatement($full = false) { if ($full) { return $this->getMarcSubFieldMap(245, ['a' => 'title', 'b' => 'title_remainder', 'c' => 'statement_responsibility', 'f' => 'inclusive_dates', 'g' => 'bulk_dates', 'h' => 'medium', '_k' => 'form', '_n' => 'parts_amount', '_p' => 'parts_name', 's' => 'version']); } else { return parent::getTitleStatement(); } }
/** * Get the statement of responsibility that goes with the title (i.e. "by John * Smith"). * * @return string */ public function getTitleStatement() { return $this->stripTrailingPunctuation(parent::getTitleStatement()); }