Filter/StringPrependIf.php
\Conjoon_Filter_StringPrependIf
Package: Conjoon\Filter
- Parent(s)
- ?\Zend_Filter_Interface
- Author
- Thorsten Suckow-Homberg
- Category
- Filter
Properties
Methods

__construct(
array $startsWith
=
array(), string $prependWith
=
""
)
:
voidConstructor.
Parameters
| Name | Type | Description |
|---|---|---|
| $startsWith | array | An array with strings to check if they occur at the start of the string to filter. |
| $prependWith | string | The string to prepend the filtered string with if none of the strings in $startsWith where found |