Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • Text_Highlighter
  • Text_Highlighter_ABAP
  • Text_Highlighter_CPP
  • Text_Highlighter_CSS
  • Text_Highlighter_DIFF
  • Text_Highlighter_DTD
  • Text_Highlighter_Generator
  • Text_Highlighter_HTML
  • Text_Highlighter_JAVA
  • Text_Highlighter_JAVASCRIPT
  • Text_Highlighter_MYSQL
  • Text_Highlighter_PERL
  • Text_Highlighter_PHP
  • Text_Highlighter_PYTHON
  • Text_Highlighter_Renderer
  • Text_Highlighter_Renderer_Array
  • Text_Highlighter_Renderer_BB
  • Text_Highlighter_Renderer_Console
  • Text_Highlighter_Renderer_Html
  • Text_Highlighter_Renderer_HtmlTags
  • Text_Highlighter_Renderer_JSON
  • Text_Highlighter_Renderer_XML
  • Text_Highlighter_RUBY
  • Text_Highlighter_SH
  • Text_Highlighter_SQL
  • Text_Highlighter_VBSCRIPT
  • Text_Highlighter_XML
  • Overview
  • Package
  • Class
  • Tree
  1: <?php
  2: /**
  3:  * Auto-generated class. DIFF syntax highlighting 
  4:  *
  5:  * PHP version 4 and 5
  6:  *
  7:  * LICENSE: This source file is subject to version 3.0 of the PHP license
  8:  * that is available through the world-wide-web at the following URI:
  9:  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 10:  * the PHP License and are unable to obtain it through the web, please
 11:  * send a note to license@php.net so we can mail you a copy immediately.
 12:  *
 13:  * @copyright  2004-2006 Andrey Demenev
 14:  * @license    http://www.php.net/license/3_0.txt  PHP License
 15:  * @link       http://pear.php.net/package/Text_Highlighter
 16:  * @category   Text
 17:  * @package    Text_Highlighter
 18:  * @version    generated from: : diff.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp 
 19:  * @author Andrey Demenev <demenev@gmail.com>
 20:  *
 21:  */
 22: 
 23: /**
 24:  * Auto-generated class. DIFF syntax highlighting
 25:  *
 26:  * @author Andrey Demenev <demenev@gmail.com>
 27:  * @category   Text
 28:  * @package    Text_Highlighter
 29:  * @copyright  2004-2006 Andrey Demenev
 30:  * @license    http://www.php.net/license/3_0.txt  PHP License
 31:  * @version    Release: 0.7.1
 32:  * @link       http://pear.php.net/package/Text_Highlighter
 33:  */
 34: class  Text_Highlighter_DIFF extends Text_Highlighter
 35: {
 36:     var $_language = 'diff';
 37: 
 38:     /**
 39:      *  Constructor
 40:      *
 41:      * @param array  $options
 42:      * @access public
 43:      */
 44:     function __construct($options=array())
 45:     {
 46: 
 47:         $this->_options = $options;
 48:         $this->_regs = array (
 49:             -1 => '/((?m)^\\\\\\sNo\\snewline.+$)|((?m)^\\-\\-\\-$)|((?m)^(diff\\s+\\-|Only\\s+|Index).*$)|((?m)^(\\-\\-\\-|\\+\\+\\+)\\s.+$)|((?m)^\\*.*$)|((?m)^\\+.*$)|((?m)^!.*$)|((?m)^\\<\\s.*$)|((?m)^\\>\\s.*$)|((?m)^\\d+(\\,\\d+)?[acd]\\d+(,\\d+)?$)|((?m)^\\-.*$)|((?m)^\\+.*$)|((?m)^@@.+@@$)|((?m)^d\\d+\\s\\d+$)|((?m)^a\\d+\\s\\d+$)|((?m)^(\\d+)(,\\d+)?(a)$)|((?m)^(\\d+)(,\\d+)?(c)$)|((?m)^(\\d+)(,\\d+)?(d)$)|((?m)^a(\\d+)(\\s\\d+)?$)|((?m)^c(\\d+)(\\s\\d+)?$)|((?m)^d(\\d+)(\\s\\d+)?$)/',
 50:             0 => '//',
 51:             1 => '//',
 52:             2 => '//',
 53:             3 => '//',
 54:             4 => '//',
 55:         );
 56:         $this->_counts = array (
 57:             -1 => 
 58:             array (
 59:                 0 => 0,
 60:                 1 => 0,
 61:                 2 => 1,
 62:                 3 => 1,
 63:                 4 => 0,
 64:                 5 => 0,
 65:                 6 => 0,
 66:                 7 => 0,
 67:                 8 => 0,
 68:                 9 => 2,
 69:                 10 => 0,
 70:                 11 => 0,
 71:                 12 => 0,
 72:                 13 => 0,
 73:                 14 => 0,
 74:                 15 => 3,
 75:                 16 => 3,
 76:                 17 => 3,
 77:                 18 => 2,
 78:                 19 => 2,
 79:                 20 => 2,
 80:             ),
 81:             0 => 
 82:             array (
 83:             ),
 84:             1 => 
 85:             array (
 86:             ),
 87:             2 => 
 88:             array (
 89:             ),
 90:             3 => 
 91:             array (
 92:             ),
 93:             4 => 
 94:             array (
 95:             ),
 96:         );
 97:         $this->_delim = array (
 98:             -1 => 
 99:             array (
100:                 0 => '',
101:                 1 => '',
102:                 2 => '',
103:                 3 => '',
104:                 4 => '',
105:                 5 => '',
106:                 6 => '',
107:                 7 => '',
108:                 8 => '',
109:                 9 => '',
110:                 10 => '',
111:                 11 => '',
112:                 12 => '',
113:                 13 => '',
114:                 14 => 'code',
115:                 15 => 'code',
116:                 16 => 'code',
117:                 17 => '',
118:                 18 => 'code',
119:                 19 => 'code',
120:                 20 => '',
121:             ),
122:             0 => 
123:             array (
124:             ),
125:             1 => 
126:             array (
127:             ),
128:             2 => 
129:             array (
130:             ),
131:             3 => 
132:             array (
133:             ),
134:             4 => 
135:             array (
136:             ),
137:         );
138:         $this->_inner = array (
139:             -1 => 
140:             array (
141:                 0 => 'special',
142:                 1 => 'code',
143:                 2 => 'var',
144:                 3 => 'reserved',
145:                 4 => 'quotes',
146:                 5 => 'string',
147:                 6 => 'inlinedoc',
148:                 7 => 'quotes',
149:                 8 => 'string',
150:                 9 => 'code',
151:                 10 => 'quotes',
152:                 11 => 'string',
153:                 12 => 'code',
154:                 13 => 'code',
155:                 14 => 'var',
156:                 15 => 'string',
157:                 16 => 'inlinedoc',
158:                 17 => 'code',
159:                 18 => 'string',
160:                 19 => 'inlinedoc',
161:                 20 => 'code',
162:             ),
163:             0 => 
164:             array (
165:             ),
166:             1 => 
167:             array (
168:             ),
169:             2 => 
170:             array (
171:             ),
172:             3 => 
173:             array (
174:             ),
175:             4 => 
176:             array (
177:             ),
178:         );
179:         $this->_end = array (
180:             0 => '/(?m)(?=^[ad]\\d+\\s\\d+)/',
181:             1 => '/(?m)^(\\.)$/',
182:             2 => '/(?m)^(\\.)$/',
183:             3 => '/(?m)^(\\.)$/',
184:             4 => '/(?m)^(\\.)$/',
185:         );
186:         $this->_states = array (
187:             -1 => 
188:             array (
189:                 0 => -1,
190:                 1 => -1,
191:                 2 => -1,
192:                 3 => -1,
193:                 4 => -1,
194:                 5 => -1,
195:                 6 => -1,
196:                 7 => -1,
197:                 8 => -1,
198:                 9 => -1,
199:                 10 => -1,
200:                 11 => -1,
201:                 12 => -1,
202:                 13 => -1,
203:                 14 => 0,
204:                 15 => 1,
205:                 16 => 2,
206:                 17 => -1,
207:                 18 => 3,
208:                 19 => 4,
209:                 20 => -1,
210:             ),
211:             0 => 
212:             array (
213:             ),
214:             1 => 
215:             array (
216:             ),
217:             2 => 
218:             array (
219:             ),
220:             3 => 
221:             array (
222:             ),
223:             4 => 
224:             array (
225:             ),
226:         );
227:         $this->_keywords = array (
228:             -1 => 
229:             array (
230:                 0 => 
231:                 array (
232:                 ),
233:                 1 => 
234:                 array (
235:                 ),
236:                 2 => 
237:                 array (
238:                 ),
239:                 3 => 
240:                 array (
241:                 ),
242:                 4 => 
243:                 array (
244:                 ),
245:                 5 => 
246:                 array (
247:                 ),
248:                 6 => 
249:                 array (
250:                 ),
251:                 7 => 
252:                 array (
253:                 ),
254:                 8 => 
255:                 array (
256:                 ),
257:                 9 => 
258:                 array (
259:                 ),
260:                 10 => 
261:                 array (
262:                 ),
263:                 11 => 
264:                 array (
265:                 ),
266:                 12 => 
267:                 array (
268:                 ),
269:                 13 => 
270:                 array (
271:                 ),
272:                 14 => -1,
273:                 15 => -1,
274:                 16 => -1,
275:                 17 => 
276:                 array (
277:                 ),
278:                 18 => -1,
279:                 19 => -1,
280:                 20 => 
281:                 array (
282:                 ),
283:             ),
284:             0 => 
285:             array (
286:             ),
287:             1 => 
288:             array (
289:             ),
290:             2 => 
291:             array (
292:             ),
293:             3 => 
294:             array (
295:             ),
296:             4 => 
297:             array (
298:             ),
299:         );
300:         $this->_parts = array (
301:             0 => 
302:             array (
303:             ),
304:             1 => 
305:             array (
306:             ),
307:             2 => 
308:             array (
309:             ),
310:             3 => 
311:             array (
312:             ),
313:             4 => 
314:             array (
315:             ),
316:         );
317:         $this->_subst = array (
318:             -1 => 
319:             array (
320:                 0 => false,
321:                 1 => false,
322:                 2 => false,
323:                 3 => false,
324:                 4 => false,
325:                 5 => false,
326:                 6 => false,
327:                 7 => false,
328:                 8 => false,
329:                 9 => false,
330:                 10 => false,
331:                 11 => false,
332:                 12 => false,
333:                 13 => false,
334:                 14 => false,
335:                 15 => false,
336:                 16 => false,
337:                 17 => false,
338:                 18 => false,
339:                 19 => false,
340:                 20 => false,
341:             ),
342:             0 => 
343:             array (
344:             ),
345:             1 => 
346:             array (
347:             ),
348:             2 => 
349:             array (
350:             ),
351:             3 => 
352:             array (
353:             ),
354:             4 => 
355:             array (
356:             ),
357:         );
358:         $this->_conditions = array (
359:         );
360:         $this->_kwmap = array (
361:         );
362:         $this->_defClass = 'default';
363:         $this->_checkDefines();
364:     }
365:     
366: }
API documentation generated by ApiGen 2.8.0