ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Nofollow.php
Go to the documentation of this file.
1
<?php
2
7
class
HTMLPurifier_HTMLModule_Nofollow
extends
HTMLPurifier_HTMLModule
8
{
9
13
public
$name
=
'Nofollow'
;
14
18
public
function
setup
(
$config
)
19
{
20
$a = $this->
addBlankElement
(
'a'
);
21
$a->attr_transform_post[] =
new
HTMLPurifier_AttrTransform_Nofollow
();
22
}
23
}
24
25
// 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_AttrTransform_Nofollow
Adds rel="nofollow" to all outbound links.
Definition:
Nofollow.php:9
HTMLPurifier_HTMLModule_Nofollow\setup
setup($config)
Definition:
Nofollow.php:18
HTMLPurifier_HTMLModule_Nofollow\$name
$name
string
Definition:
Nofollow.php:13
HTMLPurifier_HTMLModule
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition:
HTMLModule.php:18
HTMLPurifier_HTMLModule_Nofollow
Module adds the nofollow attribute transformation to a tags.
Definition:
Nofollow.php:7
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
HTMLModule
Nofollow.php
Generated on Sat Jan 18 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)