PHPIDS | ||||
![]() | ||||
|
||||
![]() |
Coverage | ||||||||||||
Classes | Methods | Lines | ||||||||||
Total |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
|
100.00% | 4 / 4 | |||
HTMLPurifier_Token_Comment |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
|
100.00% | 4 / 4 | |||
public function __construct($data, $line = NULL) |
|
100.00% | 1 / 1 |
|
100.00% | 3 / 3 |
1 : <?php 2 : 3 : /** 4 : * Concrete comment token class. Generally will be ignored. 5 : */ 6 1 : class HTMLPurifier_Token_Comment extends HTMLPurifier_Token 7 : { 8 : public $data; /**< Character data within comment. */ 9 : /** 10 : * Transparent constructor. 11 : * 12 : * @param $data String comment data. 13 : */ 14 : public function __construct($data, $line = null) { 15 2 : $this->data = $data; 16 2 : $this->line = $line; 17 2 : } 18 : } 19 : |
![]() |
Generated by PHPUnit 3.3.1 and Xdebug 2.0.2 at Thu Sep 25 18:42:10 CEST 2008. |