VirtueMart  3.2.14.9808
Classes | Namespaces | Functions
config.php File Reference

Classes

class  vmDefines
 
class  VmConfig
 
class  vmAccess
 
class  vmURI
 

Namespaces

 VirtueMart
 

Functions

if(defined('JVERSION')) vmInfo ($publicdescr, $value=NULL)
 
 vmAdminInfo ($publicdescr, $value=NULL)
 
 vmWarn ($publicdescr, $value=NULL)
 
 vmError ($descr, $publicdescr='')
 
 vmdebug ($debugdescr, $debugvalues=NULL)
 
 vmTrace ($notice, $force=FALSE, $args=10)
 
 vmRam ($notice, $value=NULL)
 
 vmRamPeak ($notice, $value=NULL)
 
 vmStartTimer ($n='cur')
 
 vmSetStartTime ($n='cur', $t=0)
 
 vmTime ($descr, $name='current')
 
 logInfo ($text, $type= 'message')
 

Function Documentation

logInfo (   $text,
  $type = 'message' 
)

logInfo to help debugging Payment notification for example

vmAdminInfo (   $publicdescr,
  $value = NULL 
)

Informations for the vendors or the administrators of the store, but not for developers like vmdebug

Parameters
$publicdescr
null$value
vmdebug (   $debugdescr,
  $debugvalues = NULL 
)

A debug dumper for VM, it is only shown to backend users.

Author
Max Milbers
Parameters
unknown_type$descr
unknown_type$values
vmError (   $descr,
  $publicdescr = '' 
)

Shows an error message, sensible information should be only in the first one, the second one is for non BE users

Author
Max Milbers
if (defined('JVERSION')) vmInfo (   $publicdescr,
  $value = NULL 
)

Where type can be one of 'warning' - yellow 'notice' - blue 'error' - red 'message' (or empty) - green This function shows an info message, the messages gets translated with vmText::, you can overload the function, so that automatically sprintf is taken, when needed. So this works vmInfo('COM_VIRTUEMART_MEDIA_NO_PATH_TYPE',$type,$link ) and also vmInfo('COM_VIRTUEMART_MEDIA_NO_PATH_TYPE');

Author
Max Milbers
Parameters
string$publicdescr
string$value
vmRam (   $notice,
  $value = NULL 
)
vmRamPeak (   $notice,
  $value = NULL 
)
vmSetStartTime (   $n = 'cur',
  $t = 0 
)
vmStartTimer (   $n = 'cur')
vmTime (   $descr,
  $name = 'current' 
)
vmTrace (   $notice,
  $force = FALSE,
  $args = 10 
)
vmWarn (   $publicdescr,
  $value = NULL 
)