메소드 | 설명 | |
---|---|---|
arrayOutput ( boolean $bArrayOutput, string $sSeparator, string $sNotFound, array $aReturn = null, boolean $bHaveMore = false ) : array | Preferred output in responses with multiple elements | |
cleanString ( string $sInput ) : string | ||
getShortText ( string $sText, integer $iLength = 100 ) : string | ||
matchRegex ( string $sContent, string $sPattern, null $iIndex = null ) : array | Regular expression helper. | |
runCurl ( string $sUrl, boolean $bDownload = false ) : boolean | mixed | ||
saveImage ( string $sUrl, integer $iId ) : string |
public static arrayOutput ( boolean $bArrayOutput, string $sSeparator, string $sNotFound, array $aReturn = null, boolean $bHaveMore = false ) : array | ||
$bArrayOutput | boolean | Native array or string with separators. |
$sSeparator | string | String separator. |
$sNotFound | string | Not found text. |
$aReturn | array | Original input. |
$bHaveMore | boolean | Have more elements indicator. |
리턴 | array | Multiple results separated by selected separator string. |
public static cleanString ( string $sInput ) : string | ||
$sInput | string | Input (eg. HTML). |
리턴 | string | Cleaned string. |