Lines Matching defs:header

81  *    <thead><tr><td colspan="2">$header</td></tr></thead>
207 /** The header type passed to {@link GeSHi->set_header_type()} was invalid */
266 GESHI_ERROR_INVALID_HEADER_TYPE => 'The header type specified is invalid',
283 * The type of header to use. Can be one of the following
288 * - GESHI_HEADER_NONE: No header is outputted.
318 * The content of the header block
330 * The style of the header block
807 * Sets the type of header to be used.
814 * From 1.0.7.2, you can use GESHI_HEADER_NONE to specify that no header code
817 * @param int $type The type of header to be used
821 //Check if we got a valid header type
828 //Set that new header type
1689 * Sets the content of the header block
1691 * @param string $content The content of the header block
1709 * Sets the style for the header content
1711 * @param string $style The style for the header content
3836 // Add HTML whitespace stuff if we're using the <div> header
3854 $parsed_code = $this->header();
3859 // If we're using the <pre> header, we shouldn't add newlines because
4066 * Creates the header for the code block (with correct attributes)
4068 * @return string The header for the code block
4071 protected function header() {
4096 // Get the header HTML
4097 $header = $this->header_content;
4098 if ($header) {
4100 $header = str_replace("\n", '', $header);
4102 $header = $this->replace_keywords($header);
4110 $header = "<thead><tr><td colspan=\"2\" $attr>$header</td></tr></thead>";
4112 $header = "<div$attr>$header</div>";
4118 return "$header<ol$attributes$ol_attributes>";
4120 return $header . ($this->force_code_block ? '<div>' : '');
4126 return "<pre$attributes>$header<ol$ol_attributes>";
4129 return "<div$attributes>$header<ol$ol_attributes>";
4131 return "<table$attributes>$header<tbody><tr class=\"li1\">";
4135 return "<pre$attributes>$header" .
4138 return "<div$attributes>$header" .
4198 * Replaces certain keywords in the header and footer with
4201 * @param string $instr The header or footer content to do replacement on
4202 * @return string The header or footer with replaced keywords