XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
Composite.php
Go to the documentation of this file.
1
<?php
2
12
class
HTMLPurifier_AttrDef_CSS_Composite
extends
HTMLPurifier_AttrDef
13
{
14
19
public
$defs
;
20
24
public
function
__construct
(
$defs
) {
25
$this->defs =
$defs
;
26
}
27
28
public
function
validate
($string,
$config
, $context) {
29
foreach
($this->defs as
$i
=> $def) {
30
$result
= $this->defs[
$i
]->validate($string,
$config
, $context);
31
if
(
$result
!==
false
)
return
$result
;
32
}
33
return
false
;
34
}
35
36
}
37
38
// vim: et sw=4 sts=4
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier
AttrDef
CSS
Composite.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1