Classes/ViewHelpers/ResultViewHelper.php
protected function titleInfo($result)
    {
        $titleCompleteElement = $this->doc->createElement('span');
        $titleCompleteElement->setAttribute('class', 'pz2-title-complete');

        $titleMainElement = $this->doc->createElement('span');
        $titleCompleteElement->appendChild($titleMainElement);
        $titleMainElement->setAttribute('class', 'pz2-title-main');
        $this->appendMarkupForFieldToContainer('title', $result, $titleMainElement);
        $this->appendMarkupForFieldToContainer('multivolume-title', $result, $titleMainElement, ' ');

        $this->appendMarkupForFieldToContainer('title-remainder', $result, $titleCompleteElement, ' ');
        $this->appendMarkupForFieldToContainer('title-number-section', $result, $titleCompleteElement, ' ');

        $titleCompleteElement->appendChild($this->doc->createTextNode('. '));

        return $titleCompleteElement;
    }
protected function titleInfo($result)
    {
        $titleCompleteElement = $this->doc->createElement('span');
        $titleCompleteElement->setAttribute('class', 'pz2-title-complete');

        $titleMainElement = $this->doc->createElement('span');
        $titleCompleteElement->appendChild($titleMainElement);
        $titleMainElement->setAttribute('class', 'pz2-title-main');
        $this->appendMarkupForFieldToContainer('title', $result, $titleMainElement);
        $this->appendMarkupForFieldToContainer('multivolume-title', $result, $titleMainElement, ' ');

        $this->appendMarkupForFieldToContainer('title-remainder', $result, $titleCompleteElement, ' ');
        $this->appendMarkupForFieldToContainer('title-number-section', $result, $titleCompleteElement, ' ');

        $titleCompleteElement->appendChild($this->doc->createTextNode('. '));

        return $titleCompleteElement;
    }
protected function titleInfo ( $ result ) { $ titleCompleteElement = $ this -> doc -> createElement ( 'span' ) ; $ titleCompleteElement -> setAttribute ( 'class' , 'pz2-title-complete' ) ; $ titleMainElement = $ this -> doc -> createElement ( 'span' ) ; $ titleCompleteElement -> appendChild ( $ titleMainElement ) ; $ titleMainElement -> setAttribute ( 'class' , 'pz2-title-main' ) ; $ this -> appendMarkupForFieldToContainer ( 'title' , $ result , $ titleMainElement ) ; $ this -> appendMarkupForFieldToContainer ( 'multivolume-title' , $ result , $ titleMainElement , ' ' ) ; $ this -> appendMarkupForFieldToContainer ( 'title-remainder' , $ result , $ titleCompleteElement , ' ' ) ; $ this -> appendMarkupForFieldToContainer ( 'title-number-section' , $ result , $ titleCompleteElement , ' ' ) ; $ titleCompleteElement -> appendChild ( $ this -> doc -> createTextNode ( '. ' ) ) ; return $ titleCompleteElement ; }
Returns DOM SPAN element with markup for the current hit's title.
@param array $result
@return \DOMElement
Returns DOM SPAN element with markup for the current hit s title .