KSC5601
[ class tree: KSC5601 ] [ index: KSC5601 ] [ all elements ]

Class: KSC5601_Common

Source Location: /KSC5601/KSC5601/Common.php

Class Overview


For PHP internal iconv/mbstring support


Methods



Class Details

[line 27]
For PHP internal iconv/mbstring support

This class support check of using iconv/mbstring method and iconv/mbstring wrapper method.




[ Top ]


Class Methods


method extfunc [line 84]

false|string extfunc( string $from, string $to, string $str)

iconv/mbstring wrapper function

If enable iconv, use iconv. If disable iconv and enable mbstring, use mbstring. If disable both iconv and mbstring, return false




Tags:

return:  Return false when don't support both iconv and mbstring
access:  public


Parameters:

string   $from   From charset
string   $to   To charset
string   $str   Given strings.

[ Top ]

method is_extfunc [line 65]

boolean is_extfunc( void 0)

Check to enable iconv or mbstring extension on this session.



Tags:

return:  If support to iconv or mbstring, return true
access:  public


Parameters:

void   0  

[ Top ]

method is_iconv [line 38]

boolean is_iconv( void 0)

Check to enable iconv extension on this session.



Tags:

see:  extension_loaded
access:  public


Parameters:

void   0  

[ Top ]

method is_mbstring [line 52]

boolean is_mbstring( void 0)

Check to enable mbstring extension on this session.



Tags:

see:  extension_loaded
access:  public


Parameters:

void   0  

[ Top ]


Documentation generated on Tue, 14 May 2019 01:59:40 +0900 by phpDocumentor 1.4.4