Lines Matching refs:return

573      * @return string
578 return GESHI_VERSION;
585 * @return string|false An error message if there has been an error, else false
600 return "<br /><strong>GeSHi Error:</strong> $msg (code {$this->error})<br />";
602 return false;
609 * @return string The name for the current language
614 return $this->language_data['LANG_NAME'] . ' (Unknown Language)';
616 return $this->language_data['LANG_NAME'];
640 return $language;
668 return;
676 return;
700 return;
703 return;
708 return;
712 return;
716 return;
727 * @return array
731 // return array
772 return $back;
778 * @return mixed
793 return false;
799 return false;
802 // return fullname for langname
803 return stripcslashes($matches[1]);
825 return;
978 * @return bool
981 return $this->allow_multiline_span;
1374 * @return int Tab width
1380 return $this->tab_width;
1382 return $this->language_data['TAB_WIDTH'];
1446 * @return int|string
1531 return $lang;
1535 return 'text';
1619 * @return bool
1625 return false;
1638 return true;
1892 * Maybe in a future version it may make a return for speed reasons, but
1975 return false;
2184 return $result;
3111 return $endresult;
3217 * @return string The keyword with its case changed
3223 return strtoupper($instr);
3225 return strtolower($instr);
3227 return $instr;
3235 * @return string The HTML for the match found
3289 return $before . '<|/'. $k .'/>' . $this->change_case($keyword) . '|>' . $after;
3298 * @return string The highlighted string
3303 return ' style="' . call_user_func($this->language_data['STYLES']['REGEXPS'][$this->_rx_key], $matches[1]) . '"'. $matches[1] . '|>';
3312 * @return string
3332 return $before
3345 * @todo BUGGY! Why? Why not build string and return?
3346 * @return string
3658 return substr($stuff_to_parse, 1);
3677 * @return double The time taken to parse the code
3681 return $this->time;
3699 return false;
3719 return $ret;
3732 return;
4068 * @return string The header for the code block
4118 return "$header<ol$attributes$ol_attributes>";
4120 return $header . ($this->force_code_block ? '<div>' : '');
4123 // Work out what to return and do it
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" .
4147 * @return string The footer for the code block
4171 return ($this->line_numbers != GESHI_NO_LINE_NUMBERS) ? '</ol>' . $footer : $footer;
4176 return "</ol>$footer</div>";
4178 return ($this->force_code_block ? '</div>' : '') .
4183 return "</tr></tbody>$footer</table>";
4185 return ($this->force_code_block ? '</div>' : '') .
4190 return "</ol>$footer</pre>";
4192 return ($this->force_code_block ? '</div>' : '') .
4202 * @return string The header or footer with replaced keywords
4234 return str_replace($keywords, $replacements, $instr);
4286 * @return string converted string
4316 // return translated string
4317 return strtr($string, $aTransSpecchar);
4326 * @return string Safe CSS class name
4329 return (is_numeric($name[0]) ? '_' : '') . $name;
4334 * is true, we only return the stylesheet declarations that matter for
4338 * @return string A stylesheet built on the data for the current language
4346 return '';
4535 return $stylesheet;
4552 return $style;
4565 * @return string for regular expression
4679 return $regexp_list;
4688 * @return string
4712 // '$matches', 'return "(?:" . preg_replace("#" . preg_quote($matches[1], "#") . "(?=\||$)#", "", $matches[0]) . ")" . $matches[1];'), $list);
4720 return "[" . str_replace("|", "", $matches[1]) . "]";
4725 // return $list without trailing pipe
4726 return substr($list, 0, -1);
4739 * @param boolean $return Whether to return the result or to echo
4740 * @return string The code highlighted (if $return is true)
4743 function geshi_highlight($string, $language, $path = null, $return = false) {
4747 if ($return) {
4748 return '<code>' . $geshi->parse_code() . '</code>';
4754 return false;
4756 return true;