ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
Nofollow.php
Go to the documentation of this file.
1<?php
2
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
Adds rel="nofollow" to all outbound links.
Definition: Nofollow.php:10
Module adds the nofollow attribute transformation to a tags.
Definition: Nofollow.php:8
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition: HTMLModule.php:19
addBlankElement($element)
Convenience function that creates a totally blank, non-standalone element.
Definition: HTMLModule.php:174