Text/MultiByte.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Text  
Version
$Id$  

\Zend_Text_MultiByte

Package: Zend_Text
Zend_Text_MultiByte contains multibyte safe string methods
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublicstrPad(string $input, integer $padLength, string $padString = ' ', integer $padType = STR_PAD_RIGHT, string $charset = 'utf-8') : string
static

String padding

Parameters
NameTypeDescription
$inputstring
$padLengthinteger
$padStringstring
$padTypeinteger
$charsetstring
Returns
TypeDescription
string
methodpublicwordWrap(string $string, integer $width = 75, string $break = "\n", boolean $cut = false, string $charset = 'utf-8') : string
static

Word wrap

Parameters
NameTypeDescription
$stringstring
$widthinteger
$breakstring
$cutboolean
$charsetstring
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .