Class

SAF_Base

Methods

__construct

__construct()

Constructor

Return type:void

createSafVariableName

createSafVariableName()

Returns a SAF variable name in the form of “saf_APPID_key”.

Parameters:string – the key name
Return type:string

setSafPersistentData

setSafPersistentData()

Sets a SAF session variable

Parameters:
  • string – the key name
  • string – the value
Return type:

void

getSafPersistentData

getSafPersistentData()

Returns a SAF session variable

Parameters:
  • string – the key name
  • string – the default value to return
Return type:

mixed

clearSafPersistentData

clearSafPersistentData()

Unsets a SAF session variable

Parameters:string – the key name
Return type:void

debug

debug()

Wrapper around an external class so we can do a simple check if the class (XS_Debug) is avaliable before we attempt to use its method.

Parameters:
  • string – name, label, message
  • var – a variable
  • int – (1)log, (2)info, (3)warn, (4)error
  • bool – log to text file
Return type:

void

Project Versions

Table Of Contents

Previous topic

Class

Next topic

Class

This Page