Filter/SanitizeRelativeUrls.php

Show: inherited
Table of Contents

\Conjoon_Filter_SanitizeRelativeUrls

Package: Conjoon\Filter

Replaces relative links in tags by prepending the given string.

Parent(s)
?\Zend_Filter_Interface
Author
Thorsten Suckow-Homberg  
Category
Filter  

Properties

Propertyprotected  $_link= '""'
Default value""Details
Type
n/a
Propertyprotected  $_valid= 'array()'
Default valuearray()Details
Type
n/a

Methods

methodpublic__construct( string $link, array $valid = array() ) : void

Constructor.

Parameters
Name Type Description
$link string

The strink to prepend to relative urls

$valid array

An array of strings which should not get prepended with $link if found.

methodpublicfilter( string $value ) : string

Defined by Zend_Filter_Interface

Parameters
Name Type Description
$value string
Returns
Type Description
string
Documentation was generated by DocBlox 0.18.1.