MCMSTools

class MCMSTools extends MCMSObject

Třída obsahující pomocné nástroje


function PrintPaging( $type, $extraparam, $pclass, $listing, $xtcnt, $xlfrom, $xlcount, $lfile )


$type:
$extraparam:
$pclass:
$listing:
$xtcnt:
$xlfrom:
$xlcount:
$lfile:

function CreatePaging( $type, $extraparam, $pclass, $listing, $xtcnt, $xlfrom, $xlcount, $lfile )


$type:
$extraparam:
$pclass:
$listing:
$xtcnt:
$xlfrom:
$xlcount:
$lfile:

function SignForm()

function SignFormCanExec( $sign )


$sign:

function SignFormExec( $sign )


$sign:

function MonthName( $id )


$id:

function DayName( $id )


$id:

function StrToLower( $str )


$str:

function StrToUpper( $str )


$str:

function UCFirstWord( $str )


$str:

function ActivateLinks( $itext, $innewwin, $protectmail )


$itext:
$innewwin:
$protectmail:

function EscapeEntity( $code )


$code:

function Censor( $itext, $reptext )


$itext:
$reptext:

function SplitURL( $url )


$url:

function ProtectInputString( $text, $allowedtags )


$text:
$allowedtags:

function Array2XML( $a, $dprefix )


$a:
$dprefix:

function XML2Array( $data )


$data:

function DebugInfo( $msg, $type, $toemail )


$msg:
$type:
$toemail:

string function removediacritics( string $s )

Odstraní diakritiku
$s: vstup

bool function strcmpme( string $s1, string $s2 [ , int $maxerrors ] )

Porovnává dva stejně dlouhé řetězce s možným překlepem (lze použít pro hledání v druhé fázi pokud nebyla nalezena absolutní shoda)
$s1: vstup 1
$s2: vstup 2
$maxerrors: počet povolených chyb [ 1 ]