LinkSanitizerTest
extends ContrexxTestCase
in package
LinkSanitizerTest
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- testReplace() : mixed
- checkSanitizing() : mixed
- getComponent() : SystemComponentController|null
- Returns the requested component's controller
Properties
$cx
protected
static Cx
$cx
Methods
__construct()
public
__construct() : mixed
testReplace()
public
testReplace() : mixed
checkSanitizing()
protected
checkSanitizing(mixed $in, mixed $expectedOut) : mixed
Parameters
- $in : mixed
- $expectedOut : mixed
getComponent()
Returns the requested component's controller
protected
getComponent(string $componentName) : SystemComponentController|null
Parameters
- $componentName : string
-
Name of the component to fetch
Return values
SystemComponentController|null —ComponentController or null if none was found