ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
TargetBlank.php
Go to the documentation of this file.
1
<?
php
2
7
class
HTMLPurifier_HTMLModule_TargetBlank
extends
HTMLPurifier_HTMLModule
8
{
12
public
$name
=
'TargetBlank'
;
13
17
public
function
setup
(
$config
)
18
{
19
$a = $this->
addBlankElement
(
'a'
);
20
$a->attr_transform_post[] =
new
HTMLPurifier_AttrTransform_TargetBlank
();
21
}
22
}
23
24
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule\addBlankElement
addBlankElement($element)
Convenience function that creates a totally blank, non-standalone element.
Definition:
HTMLModule.php:174
$config
$config
Definition:
flush-definition-cache.php:23
HTMLPurifier_HTMLModule_TargetBlank
Module adds the target=blank attribute transformation to a tags.
Definition:
TargetBlank.php:7
HTMLPurifier_AttrTransform_TargetBlank
Adds target="blank" to all outbound links.
Definition:
TargetBlank.php:10
HTMLPurifier_HTMLModule
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition:
HTMLModule.php:18
HTMLPurifier_HTMLModule_TargetBlank\$name
$name
string
Definition:
TargetBlank.php:12
php
HTMLPurifier_HTMLModule_TargetBlank\setup
setup($config)
Definition:
TargetBlank.php:17
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
HTMLModule
TargetBlank.php
Generated on Fri Jan 17 2025 19:00:49 for ILIAS by
1.8.13 (using
Doxyfile
)