PHP Class Xpressengine\Tag\Decomposer

Author: XE Developers ([email protected])
Mostrar archivo Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$charSet string Character set

Public Methods

Method Description
__construct ( string $charSet = 'UTF-8' ) Constructor
execute ( string $string ) : string Execute decomposing

Protected Methods

Method Description
charAt ( string $str, integer $num ) : string 지정한 인덱스에 해당하는 문자를 반환한다.
ord ( string $ch ) : integer | null Return ASCII value of character
strlen ( string $str ) : integer Get string length

Method Details

__construct() public method

Constructor
public __construct ( string $charSet = 'UTF-8' )
$charSet string Character set

charAt() protected method

지정한 인덱스에 해당하는 문자를 반환한다.
protected charAt ( string $str, integer $num ) : string
$str string string
$num integer character index
return string

execute() public method

Execute decomposing
public execute ( string $string ) : string
$string string string whatever
return string

ord() protected method

Return ASCII value of character
protected ord ( string $ch ) : integer | null
$ch string character
return integer | null

strlen() protected method

Get string length
protected strlen ( string $str ) : integer
$str string string
return integer

Property Details

$charSet protected_oe property

Character set
protected string $charSet
return string