public function renderLockedHeader(BasicObject $o, $content)
    {
        $header = '<dt class="kint-parent kint-locked">';

        if (RichRenderer::$access_paths && $o->depth > 0 && $ap = $o->getAccessPath()) {
            $header .= '<span class="kint-access-path-trigger" title="Show access path">&rlarr;</span>';
        }

        $header .= '<span class="kint-popup-trigger" title="Open in new window">&boxbox;</span><nav></nav>';

        if (null !== ($s = $o->getModifiers())) {
            $header .= '<var>'.$s.'</var> ';
        }

        if (null !== ($s = $o->getName())) {
            $header .= '<dfn>'.$this->renderer->escape($s).'</dfn> ';

            if ($s = $o->getOperator()) {
                $header .= $this->renderer->escape($s, 'ASCII').' ';
            }
        }

        if (null !== ($s = $o->getType())) {
            $s = $this->renderer->escape($s);

            if ($o->reference) {
                $s = '&amp;'.$s;
            }

            $header .= '<var>'.$s.'</var> ';
        }

        if (null !== ($s = $o->getSize())) {
            $header .= '('.$this->renderer->escape($s).') ';
        }

        $header .= $content;

        if (!empty($ap)) {
            $header .= '<div class="access-path">'.$this->renderer->escape($ap).'</div>';
        }

        return $header.'</dt>';
    }
public function renderLockedHeader(BasicObject $o, $content)
    {
        $header = '<dt class="kint-parent kint-locked">';

        if (RichRenderer::$access_paths && $o->depth > 0 && $ap = $o->getAccessPath()) {
            $header .= '<span class="kint-access-path-trigger" title="Show access path">&rlarr;</span>';
        }

        $header .= '<span class="kint-popup-trigger" title="Open in new window">&boxbox;</span><nav></nav>';

        if (null !== ($s = $o->getModifiers())) {
            $header .= '<var>'.$s.'</var> ';
        }

        if (null !== ($s = $o->getName())) {
            $header .= '<dfn>'.$this->renderer->escape($s).'</dfn> ';

            if ($s = $o->getOperator()) {
                $header .= $this->renderer->escape($s, 'ASCII').' ';
            }
        }

        if (null !== ($s = $o->getType())) {
            $s = $this->renderer->escape($s);

            if ($o->reference) {
                $s = '&amp;'.$s;
            }

            $header .= '<var>'.$s.'</var> ';
        }

        if (null !== ($s = $o->getSize())) {
            $header .= '('.$this->renderer->escape($s).') ';
        }

        $header .= $content;

        if (!empty($ap)) {
            $header .= '<div class="access-path">'.$this->renderer->escape($ap).'</div>';
        }

        return $header.'</dt>';
    }
public function renderLockedHeader ( BasicObject $ o , $ content ) { $ header = '<dt class="kint-parent kint-locked">' ; if ( RichRenderer :: $ access_paths && $ o -> depth > 0 && $ ap = $ o -> getAccessPath ( ) ) { $ header .= '<span class="kint-access-path-trigger" title="Show access path">&rlarr;</span>' ; } $ header .= '<span class="kint-popup-trigger" title="Open in new window">&boxbox;</span><nav></nav>' ; if ( null !== ( $ s = $ o -> getModifiers ( ) ) ) { $ header .= '<var>' . $ s . '</var> ' ; } if ( null !== ( $ s = $ o -> getName ( ) ) ) { $ header .= '<dfn>' . $ this -> renderer -> escape ( $ s ) . '</dfn> ' ; if ( $ s = $ o -> getOperator ( ) ) { $ header .= $ this -> renderer -> escape ( $ s , 'ASCII' ) . ' ' ; } } if ( null !== ( $ s = $ o -> getType ( ) ) ) { $ s = $ this -> renderer -> escape ( $ s ) ; if ( $ o -> reference ) { $ s = '&amp;' . $ s ; } $ header .= '<var>' . $ s . '</var> ' ; } if ( null !== ( $ s = $ o -> getSize ( ) ) ) { $ header .= '(' . $ this -> renderer -> escape ( $ s ) . ') ' ; } $ header .= $ content ; if ( ! empty ( $ ap ) ) { $ header .= '<div class="access-path">' . $ this -> renderer -> escape ( $ ap ) . '</div>' ; } return $ header . '</dt>' ; }
Renders a locked header.

@param BasicObject $o
@param string      $content
Renders a locked header .