OXID eShop CE
4.10.4
|
Go to the source code of this file.
Functions | |
oxAutoload ($sClass) | |
getClassDirs ($sBasePath) | |
if(!function_exists('registerShopAutoLoad')) if(!function_exists('registerComposerAutoLoad')) if(!function_exists('getShopBasePath')) | isAdmin () |
setPhpIniParams () | |
if(!function_exists('error_404_handler')) | warningHandler ($iErrorNr, $sErrorText) |
dumpVar ($mVar, $blToFile=false) | |
if(!function_exists('isSearchEngineUrl')) | debug ($mVar) |
cmpart ($a, $b) | |
if(!function_exists('startProfile')) if(!function_exists('stopProfile')) | oxNew ($sClassName) |
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) |
cmpart | ( | $a, | |
$b | |||
) |
Sorting for crossselling
object | $a | first compare item |
object | $b | second compre item |
Definition at line 286 of file oxfunctions.php.
if (!function_exists('isSearchEngineUrl')) debug | ( | $mVar | ) |
prints anything given into a file, for debugging
mixed | $mVar | variable to debug |
Definition at line 270 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 237 of file oxfunctions.php.
getClassDirs | ( | $sBasePath | ) |
Return array with classes paths.
string | $sBasePath | path to shop base ddirectory. |
Definition at line 117 of file oxfunctions.php.
getDb | ( | $blAssoc = true | ) |
Returns current DB handler
bool | $blAssoc | data fetch mode |
Definition at line 361 of file oxfunctions.php.
getStr | ( | ) |
if (!function_exists('registerShopAutoLoad')) if (!function_exists('registerComposerAutoLoad')) if (!function_exists('getShopBasePath')) isAdmin | ( | ) |
Returns true in case framework is called from shop administrator environment.
Definition at line 180 of file oxfunctions.php.
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 425 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 385 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 404 of file oxfunctions.php.
ox_get_trusted | ( | $sTplName, | |
$oSmarty | |||
) |
Does nothing.
string | $sTplName | not used here |
object | $oSmarty | not used here |
Definition at line 437 of file oxfunctions.php.
oxAutoload | ( | $sClass | ) |
Includes $sClass class file
string | $sClass | classname |
Definition at line 10 of file oxfunctions.php.
Creates and returns new object. If creation is not available, dies and outputs error message.
string | $sClassName | Name of class |
oxSystemComponentException | in case that class does not exists |
Definition at line 344 of file oxfunctions.php.
setPhpIniParams | ( | ) |
if (!function_exists('error_404_handler')) 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 226 of file oxfunctions.php.