[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/StringWrapper/ -> AbstractStringWrapper.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 269 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  isSupported()
  setEncoding()
  getEncoding()
  getConvertEncoding()
  convert()
  wordWrap()
  strPad()

Functions
Functions that are not part of a class:

isSupported($encoding, $convertEncoding = null)   X-Ref
Check if the given character encoding is supported by this wrapper
and the character encoding to convert to is also supported.

param: string      $encoding
param: string|null $convertEncoding
return: bool

setEncoding($encoding, $convertEncoding = null)   X-Ref
Set character encoding working with and convert to

param: string      $encoding         The character encoding to work with
param: string|null $convertEncoding  The character encoding to convert to
return: StringWrapperInterface

getEncoding()   X-Ref
Get the defined character encoding to work with

return: string

getConvertEncoding()   X-Ref
Get the defined character encoding to convert to

return: string|null

convert($str, $reverse = false)   X-Ref
Convert a string from defined character encoding to the defined convert encoding

param: string  $str
param: bool $reverse
return: string|false

wordWrap($string, $width = 75, $break = "\n", $cut = false)   X-Ref
Wraps a string to a given number of characters

param: string  $string
param: int $width
param: string  $break
param: bool $cut
return: string|false

strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_RIGHT)   X-Ref
Pad a string to a certain length with another string

param: string  $input
param: int $padLength
param: string  $padString
param: int $padType
return: string



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1