ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Clone.php
Go to the documentation of this file.
1
<?php
2
7
class
HTMLPurifier_AttrDef_Clone
extends
HTMLPurifier_AttrDef
8
{
13
protected
$clone
;
14
18
public
function
__construct
(
$clone
)
19
{
20
$this->clone =
$clone
;
21
}
22
29
public
function
validate
($v, $config, $context)
30
{
31
return
$this->clone->validate($v, $config, $context);
32
}
33
38
public
function
make
($string)
39
{
40
return
clone
$this->clone
;
41
}
42
}
43
44
// vim: et sw=4 sts=4
HTMLPurifier_AttrDef_Clone\$clone
$clone
What we're cloning.
Definition:
Clone.php:13
HTMLPurifier_AttrDef
Base class for all validating attribute definitions.
Definition:
AttrDef.php:13
HTMLPurifier_AttrDef_Clone\make
make($string)
Definition:
Clone.php:38
HTMLPurifier_AttrDef_Clone\validate
validate($v, $config, $context)
Definition:
Clone.php:29
HTMLPurifier_AttrDef_Clone\__construct
__construct($clone)
Definition:
Clone.php:18
HTMLPurifier_AttrDef_Clone
Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make.
Definition:
Clone.php:7
Services
Html
HtmlPurifier
library
HTMLPurifier
AttrDef
Clone.php
Generated on Mon Sep 1 2025 19:00:45 for ILIAS by
1.8.13 (using
Doxyfile
)