~tempo-openerp/+junk/osclass-axima

« back to all changes in this revision

Viewing changes to oc-includes/htmlpurifier/HTMLPurifier/Token/Comment.php

  • Committer: vg at tempo-consulting
  • Date: 2013-08-20 07:59:29 UTC
  • Revision ID: vg@tempo-consulting.fr-20130820075929-m57t59qytwvctmuu
osclass axima site annonces

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/**
 
4
 * Concrete comment token class. Generally will be ignored.
 
5
 */
 
6
class HTMLPurifier_Token_Comment extends HTMLPurifier_Token
 
7
{
 
8
    public $data; /**< Character data within comment. */
 
9
    public $is_whitespace = true;
 
10
    /**
 
11
     * Transparent constructor.
 
12
     *
 
13
     * @param $data String comment data.
 
14
     */
 
15
    public function __construct($data, $line = null, $col = null) {
 
16
        $this->data = $data;
 
17
        $this->line = $line;
 
18
        $this->col  = $col;
 
19
    }
 
20
}
 
21
 
 
22
// vim: et sw=4 sts=4