Text_Highlighter
[ class tree: Text_Highlighter ] [ index: Text_Highlighter ] [ all elements ]

File: Highlighter.php

Source Location: /Text_Highlighter-0.7.3/Text/Highlighter.php

Classes:

Text_Highlighter
Text highlighter base class

Page Details:

Highlighter base class

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.0 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

Includes:

require_once('PEAR.php') [line 23]

HL_INFINITY [line 51]

HL_INFINITY = 1000000000
for our purpose, it is infinity

[ Top ]



HL_NUMBERS_LI [line 37]

HL_NUMBERS_LI = 1
use numbered list

Constant for use with $options['numbers']

  • See: Text_Highlighter_Renderer_Html::_init()

[ Top ]



HL_NUMBERS_TABLE [line 42]

HL_NUMBERS_TABLE = 2
Use 2-column table with line numbers in left column and code in right column.

Constant for use with $options['numbers'] Forces $options['tag'] = HL_TAG_PRE

  • See: Text_Highlighter_Renderer_Html::_init()

[ Top ]



Documentation generated on Sat, 17 Dec 2011 07:30:11 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.