720. Class

720.1. Zend\Filter\StringTrim

720.1.1. Methods

720.1.1.1. __construct

__construct()

Sets filter options

Parameters:string|array|Traversable

720.1.1.2. setCharList

setCharList()

Sets the charList option

Parameters:string
Return type:StringTrim Provides a fluent interface

720.1.1.3. getCharList

getCharList()

Returns the charList option

Return type:string|null

720.1.1.4. filter

filter()

Defined by ZendFilterFilterInterface

Returns the string $value with characters stripped from the beginning and end

Parameters:string
Return type:string

720.1.1.5. unicodeTrim

unicodeTrim()

Unicode aware trim method Fixes a PHP problem

Parameters:
  • string
  • string
Return type:

string

Project Versions

Table Of Contents

Previous topic

719. Class

Next topic

721. Class

This Page