OXID eShop CE
7.0.0
|
Functions | |
isAdmin () | |
warningHandler ($iErrorNr, $sErrorText) | |
dumpVar ($mVar, $blToFile=false) | |
debug ($mVar) | |
oxNew ($className,... $args) | |
debug | ( | $mVar | ) |
prints anything given into a file, for debugging
mixed | $mVar | variable to debug |
dumpVar | ( | $mVar, | |
$blToFile = false |
|||
) |
Dumps $mVar information to vardump.txt file. Used in debugging.
mixed | $mVar | variable |
bool | $blToFile | marker to write log info to file (must be true to log) |
isAdmin | ( | ) |
Returns true in case framework is called from shop administrator environment.
oxNew | ( | $className, | |
$args | |||
) |
Creates and returns new object. If creation is not available, dies and outputs error message.
@template T
class-string<T> | $className param mixed ...$args constructor arguments |
warningHandler | ( | $iErrorNr, | |
$sErrorText | |||
) |
Displays 'nice' HTML formatted user error. Later this method is hooked as error handler by calling set_error_handler('warningHandler', E_USER_WARNING); #T2008-07-22 Not used yet
int | $iErrorNr | error number |
string | $sErrorText | error message |