Documentation

Helper
in package

Class Helper

Table of Contents

addIPToWhiteList()  : mixed
checkWhiteListIP()  : mixed
convertArbicCharsToPersian()  : string|array<string|int, string>
convertPersianNumbersToEnglish()  : int
DigitsToEnglish()  : string|array<string|int, string>
DigitsToPersian()  : string|array<string|int, string>

Methods

addIPToWhiteList()

public static addIPToWhiteList( $ip) : mixed
Parameters
$ip :
Return values
mixed

checkWhiteListIP()

public static checkWhiteListIP() : mixed
Return values
mixed

convertArbicCharsToPersian()

public static convertArbicCharsToPersian( $text) : string|array<string|int, string>
Parameters
$text :
Return values
string|array<string|int, string>

convertPersianNumbersToEnglish()

public static convertPersianNumbersToEnglish( $number) : int
Parameters
$number :
Return values
int

DigitsToEnglish()

public static DigitsToEnglish( $str) : string|array<string|int, string>
Parameters
$str :
Return values
string|array<string|int, string>

DigitsToPersian()

public static DigitsToPersian( $str) : string|array<string|int, string>
Parameters
$str :
Return values
string|array<string|int, string>

Search results