Return the HTML JS Marker tag.

@param bool $pFooter Generate header or footer marker
@return string
181128
public static function getJsMarker($pFooter = false)
	{
		return ($pFooter) ?
			'/' . static::VIEW_MARKER . self::JS_MARKER . self::JS_MARKER_FOOTER . '/' :
			'/' . static::VIEW_MARKER . self::JS_MARKER . self::JS_MARKER_HEADER . '/';
	}
31480
function getMarker(node, markerType, parentNode) {
  var id = referenceToId(svgAttr(node, markerType));

  return domQuery('marker#' + id, parentNode || document);
}
590424
protected function setFooterCommon($footerInjected = null)
    {
        $sHK = $this->tCmnSuperGlobals->get('specialHook');
        if (!is_null($sHK) && (in_array('noHeader', $sHK))) {
            return '';
        }
        return $this->setFooterCommonInjected($footerInjected) . '</body></html>';
    }
11397
function _storeFooter()
    {
        $record  = 0x0015;               // Record identifier

        $str      = $this->_footer;       // Footer string
        $cch      = strlen($str);         // Length of footer string
        if ($this->_BIFF_version == 0x0600) {
            $encoding = 0x0;                  // TODO: Unicode support
            $length   = 3 + $cch;             // Bytes to follow
        } else {
            $length  = 1 + $cch;
        }

        $header    = pack("vv", $record, $length);
        if ($this->_BIFF_version == 0x0600) {
            $data      = pack("vC",  $cch, $encoding);
        } else {
            $data      = pack("C",  $cch);
        }

        $this->_prepend($header . $data . $str);
    }
1027587
public function footer($FOOT_TEXT = 'Home', $FOOT_LINK = '/')
    {
        $size = memory_get_usage(true);
        $unit = ['b', 'kb', 'mb', 'gb', 'tb', 'pb'];
        $MEMORYUSED = @round($size / pow(1024, ($i = floor(log($size, 1024)))), 2).' '.$unit[$i];
        $this->set('MEMORYUSED', $MEMORYUSED);
        $this->set('LOADTIME', number_format($this->timer_diff(), 5));
        $this->set('FOOT_TEXT', $FOOT_TEXT);
        $this->set('FOOT_LINK', $FOOT_LINK);
        global $QUERYCOUNT;
        global $DB;
        $this->set('QUERYCOUNT', $QUERYCOUNT + intval(count($DB->QUERIES)));
        $this->set('RECORDCOUNT', intval($DB->RECORDCOUNT));
        if (isset($_SESSION['DEBUG']) && $_SESSION['DEBUG'] > 5) {
            $this->set('FOOTERDEBUG', \Metaclassing\Utility::dumper($DB));
        }

        return $this->parse(INCLUDEDIR.'/footer.template.html');
    }
129617
public function getNewrelicBrowserTimingFooter(): string
    {
        if ($this->isFooterCalled()) {
            throw new \RuntimeException('Function "ekino_newrelic_browser_timing_footer" has already been called');
        }

        if (false === $this->isHeaderCalled()) {
            $this->prepareInteractor();
        }

        $this->footerCalled = true;

        return $this->interactor->getBrowserTimingFooter();
    }
331262
public function render(?Formatter $formatter = null): string
    {
        if ($formatter === null) {
            $formatter = new PassthroughFormatter();
        }

        $tags = [];
        foreach ($this->tags as $tag) {
            $tags[] = '{' . $formatter->format($tag) . '}';
        }

        return vsprintf($this->bodyTemplate, $tags);
    }
1112537
private function footerSorter(): Closure
    {
        return static function (ModuleFooterInterface $x, ModuleFooterInterface $y): int {
            return $x->getFooterOrder() <=> $y->getFooterOrder();
        };
    }
845111
protected function getFooterScriptsFrag($html)
    {
        if (!($html = (string) $html)) {
            return []; // Nothing to do.
        }
        if (preg_match('/(?P<all>(?P<open_tag>\<\!\-\-\s*footer[\s_\-]+scripts\s*\-\-\>)(?P<contents>.*?)(?P<closing_tag>(?P=open_tag)))/uis', $html, $head_frag)) {
            return $this->removeNumericKeysDeep($head_frag);
        }
        return [];
    }
1315342
private function openFooter(Post $post, int $count): string
    {
        if (!$this->postInfo('excerpt', 'after', $post, $count)) {
            return '';
        }

        return '<footer'.$this->textOffset($post).'>';
    }
519159
public function footer()
    {
        $this->output->write($this->color('success', sprintf("\n  %d passing", $this->passing)));
        $this->output->writeln(sprintf($this->color('muted', " (%s)"), \PHP_Timer::secondsToTimeString($this->getTime())));
        if (! empty($this->errors)) {
            $this->output->writeln($this->color('error', sprintf("  %d failing", count($this->errors))));
        }
        if ($this->pending) {
            $this->output->writeln($this->color('pending', sprintf("  %d pending", $this->pending)));
        }
        $this->output->writeln("");
        $errorCount = count($this->errors);
        for ($i = 0; $i < $errorCount; $i++) {
            list($test, $error) = $this->errors[$i];
            $this->outputError($i + 1, $test, $error);
            $this->output->writeln('');
        }
    }
122451
protected function displayFooter()
    {
        ob_start();

        foreach ($this->extra_rows as $row) {
            $row->display();
        }

        $footer_content = ob_get_clean();

        if ($footer_content != '') {
            $tfoot_tag = new SwatHtmlTag('tfoot');
            if ($this->use_invalid_tfoot_ordering) {
                $tfoot_tag->class = 'swat-table-view-invalid-tfoot-ordering';
            }

            $tfoot_tag->setContent($footer_content, 'text/xml');
            $tfoot_tag->display();
        }
    }
1037442
protected function _appendFootnotes_callback($matches) {
		$node_id = $this->fn_id_prefix . $matches[1];
		
		// Create footnote marker only if it has a corresponding footnote *and*
		// the footnote hasn't been used by another marker.
		if (isset($this->footnotes[$node_id])) {
			$num =& $this->footnotes_numbers[$node_id];
			if (!isset($num)) {
				// Transfer footnote content to the ordered list and give it its
				// number
				$this->footnotes_ordered[$node_id] = $this->footnotes[$node_id];
				$this->footnotes_ref_count[$node_id] = 1;
				$num = $this->footnote_counter++;
				$ref_count_mark = '';
			} else {
				$ref_count_mark = $this->footnotes_ref_count[$node_id] += 1;
			}

			$attr = "";
			if ($this->fn_link_class != "") {
				$class = $this->fn_link_class;
				$class = $this->encodeAttribute($class);
				$attr .= " class=\"$class\"";
			}
			if ($this->fn_link_title != "") {
				$title = $this->fn_link_title;
				$title = $this->encodeAttribute($title);
				$attr .= " title=\"$title\"";
			}
			
			$attr = str_replace("%%", $num, $attr);
			$node_id = $this->encodeAttribute($node_id);
			
			return
				"<sup id=\"fnref$ref_count_mark:$node_id\">".
				"<a href=\"#fn:$node_id\"$attr>$num</a>".
				"</sup>";
		}
		
		return "[^" . $matches[1] . "]";
	}
835968
public function table(array $attributes = [], $drawFooter = false)
    {
        if (count($this->deferredData)) {
            return $this->tableDeferred($attributes);
        }

        $this->tableAttributes = $attributes ?: $this->tableAttributes;
        $scrollable            = '';
        if ($this->datatable->count() > 10 or strlen($this->ajax) > 0) {
            $scrollable = 'data-scrollable';
        }
        return $this->tableInit() . $this->beforeTable() . '<table ' . $scrollable . ' data-table-init = "true" ' . $this->html->attributes($this->tableAttributes) . '></table>' . $this->afterTable();
    }
1345782
public function getTag()
    {
        $template = $this->File->getFrontendTemplate();
        if (empty($template)) {
            return '';
        }
        return (string)$this->renderWith($template);
    }
594254
public function getPageTopBottom($h, $b=null) {
    // Force $h to be an array.
    $h = is_array($h) ? $h : (array)$h;

    // BLP 2014-12-31 -- New footer item is added to $b.
    
    if(isset($h['footer'])) {
      // BLP 2014-12-31 -- force both to arrays
      $b = (array)$b + (array)$h['footer'];
    }

    // Do getPageTop and getPageFooter
    
    $top = $this->getPageTop($h);
    $footer = $this->getPageFooter($b);
    // return the array which we usually get via list($top, $footer)
    return array($top, $footer);
  }
737128
public function renderFootnote($renderer)
    {
        if ($renderer->getCurrentStyle() != $this->styleName) {
            $renderer->setCurrentStyle($this->styleName);
        }
        $temptext = str_replace('#PAGENUM#', (string) $renderer->PageNo(), $this->text);
        // Set the link to this y/page position
        $renderer->SetLink($this->addlink, -1, -1);
        // Print first the source number
        // working
        if ($renderer->getRTL()) {
            $renderer->writeHTML('<span> .' . $this->num . '</span>', false, false, false, false, '');
        } else {
            $temptext = '<span>' . $this->num . '. </span>' . $temptext;
        }
        // underline «title» part of Source item
        $temptext = str_replace([
            '«',
            '»',
        ], [
            '<u>',
            '</u>',
        ], $temptext);
        $renderer->writeHTML($temptext, true, false, true, false, '');
    }