Go to the source code of this file.
Functions | |
__autoload ($sClass) | |
warningHandler ($iErrorNr, $sErrorText) | |
dumpVar ($mVar, $blToFile=false) | |
cmpart ($a, $b) | |
startProfile ($sProfileName) | |
stopProfile ($sProfileName) | |
oxNew ($sClassName, $sParams=null) | |
oxNewArticle ($sArtId) | |
getDb ($blAssoc=true) | |
getStr () | |
ox_get_template ($sTplName, &$sTplSource, $oSmarty) | |
ox_get_timestamp ($sTplName, &$iTplTimestamp, $oSmarty) | |
ox_get_secure ($sTplName, $oSmarty) | |
ox_get_trusted ($sTplName, $oSmarty) | |
Variables | |
return | $blAdmin |
return | false |
$sString = var_export( $mVar, true ) |
__autoload | ( | $ | sClass | ) |
Includes $sClass class file
string | $sClass classname |
Definition at line 10 of file oxfunctions.php.
cmpart | ( | $ | a, | |
$ | b | |||
) |
Sorting for crossselling
object | $a first compare item | |
object | $b second compre item |
Definition at line 173 of file oxfunctions.php.
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) |
Definition at line 100 of file oxfunctions.php.
getDb | ( | $ | blAssoc = true |
) |
Returns current DB handler
bool | $blAssoc data fetch mode |
Definition at line 257 of file oxfunctions.php.
getStr | ( | ) |
ox_get_secure | ( | $ | sTplName, | |
$ | oSmarty | |||
) |
Assumes all templates are secure, returns true.
string | $sTplName not used here | |
object | $oSmarty not used here |
Definition at line 321 of file oxfunctions.php.
ox_get_template | ( | $ | sTplName, | |
&$ | sTplSource, | |||
$ | oSmarty | |||
) |
Sets template name to passed reference, returns true.
string | $sTplName name of template | |
string | &$sTplSource Template source | |
object | $oSmarty not used here |
Definition at line 281 of file oxfunctions.php.
ox_get_timestamp | ( | $ | sTplName, | |
&$ | iTplTimestamp, | |||
$ | oSmarty | |||
) |
Sets timestamt to passed timestamp object, returns true.
string | $sTplName name of template | |
string | &$iTplTimestamp template timestamp referense | |
object | $oSmarty not used here |
Definition at line 300 of file oxfunctions.php.
ox_get_trusted | ( | $ | sTplName, | |
$ | oSmarty | |||
) |
Does nothing.
string | $sTplName not used here | |
object | $oSmarty not used here |
Definition at line 335 of file oxfunctions.php.
oxNew | ( | $ | sClassName, | |
$ | sParams = null | |||
) |
Creates and returns new object. If creation is not available, dies and outputs error message.
string | $sClassName Name of class | |
string | $sParams Parameters to object |
oxSystemComponentException | in case that class does not exists |
Definition at line 230 of file oxfunctions.php.
oxNewArticle | ( | $ | sArtId | ) |
Creates, loads returns oxarticle object
string | $sArtId product id |
Definition at line 245 of file oxfunctions.php.
startProfile | ( | $ | sProfileName | ) |
Start profiling
string | $sProfileName name of profile |
Definition at line 188 of file oxfunctions.php.
stopProfile | ( | $ | sProfileName | ) |
Stop profiling
string | $sProfileName name of profile |
Definition at line 209 of file oxfunctions.php.
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 |
Definition at line 87 of file oxfunctions.php.
return $blAdmin |
Definition at line 130 of file oxfunctions.php.
$sString = var_export( $mVar, true ) |
Definition at line 160 of file oxfunctions.php.
return false |
Definition at line 133 of file oxfunctions.php.