Moodle  2.2.1
http://www.collinsharper.com
testable_filter_urltolink Class Reference
Inheritance diagram for testable_filter_urltolink:
Collaboration diagram for testable_filter_urltolink:

Public Member Functions

 __construct ()
 convert_urls_into_links (&$text)

Detailed Description

Test subclass that makes all the protected methods we want to test public.

Definition at line 34 of file testfilter.php.


Constructor & Destructor Documentation

Definition at line 35 of file testfilter.php.


Member Function Documentation

Given some text this function converts any URLs it finds into HTML links

Parameters:
string$textPassed in by reference. The string to be searched for urls.

Reversed so "progressive" str_replace() will solve some nesting problems.

Reimplemented from filter_urltolink.

Definition at line 37 of file testfilter.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations