ILIAS
Release_4_1_x_branch Revision 61804
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Token.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_Token
{
7
public
$line
;
8
public
$col
;
15
public
$armor
= array();
16
20
public
$skip
;
21
public
$rewind
;
22
public
$carryover
;
23
24
public
function
__get
(
$n
) {
25
if
(
$n
===
'type'
) {
26
trigger_error(
'Deprecated type property called; use instanceof'
, E_USER_NOTICE);
27
switch
(get_class($this)) {
28
case
'HTMLPurifier_Token_Start'
:
return
'start'
;
29
case
'HTMLPurifier_Token_Empty'
:
return
'empty'
;
30
case
'HTMLPurifier_Token_End'
:
return
'end'
;
31
case
'HTMLPurifier_Token_Text'
:
return
'text'
;
32
case
'HTMLPurifier_Token_Comment'
:
return
'comment'
;
33
default
:
return
null;
34
}
35
}
36
}
37
41
public
function
position
($l = null, $c = null) {
42
$this->line = $l;
43
$this->col = $c;
44
}
45
49
public
function
rawPosition
($l, $c) {
50
if
($c === -1) $l++;
51
$this->line = $l;
52
$this->col = $c;
53
}
54
55
}
56
57
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
Token.php
Generated on Thu Apr 21 2016 19:02:51 for ILIAS by
1.8.1.2 (using
Doxyfile
)