Class TSessionScopeFo

Description

This class provide session management for PLICI on FrontOffice only.

It make a couple with a session information send by navigator and a BD context.

  • author: SimpliciWeb
  • version: $Id: t_sessionscope_fo.class.php 781 2007-12-27 13:07:16Z stephanet $

Located in /core/internal_components/front_sites/scope/t_sessionscope_fo.class.php (line 62)

xTSessionScope
   |
   --TSessionScopeFo
Variable Summary
Method Summary
 bool getCustomerAuthent ( &$r_email,  &$r_id, string $r_email, string $r_id)
 bool getDiscountCode ( &$r_discount_code, string $r_discount_code)
 bool getPageAuthent ( &$r_page_identification, array $r_page_identification)
 bool getSessionVar ( &$r_value, mixed $p_var, string $r_value)
 string getShoppingCartId ()
 bool isValidTuringTest (string $p_to_verify)
 void setCustomerAuthent (string $p_cus_email, stirng $p_cus_id)
 void setDiscountCode (string $p_discount_code)
 void setPageAuthent (array $p_page_identification)
 void setSessionVar (string $p_var, mixed $p_value)
 void setShoppingcartExist (string $p_id)
 void setTuringTest (string $p_value)
 void unsetSessionVar (mixed $p_var)
Variables
Methods
Constructor TSessionScopeFo (line 86)

Constructor, init the requests and objects

TSessionScopeFo TSessionScopeFo ()
destroyCustomerAuthent (line 156)

Destroy the customer authentification

void destroyCustomerAuthent ()
destroyPageAuthent (line 282)

Destroy the page authentification

void destroyPageAuthent ()
destroyShoppingCart (line 134)

Destroy the current shoppingcart

void destroyShoppingCart ()
destroyTuringTest (line 146)

Destroy the turing test

  • deprecated: not used
void destroyTuringTest ()
getCustomerAuthent (line 229)

Get the customer authentification

  • return: TRUE on error
bool getCustomerAuthent ( &$r_email,  &$r_id, string $r_email, string $r_id)
  • string $r_email
  • string $r_id
  • &$r_email
  • &$r_id
getDiscountCode (line 305)

Get the discount code

  • return: TRUE on error
bool getDiscountCode ( &$r_discount_code, string $r_discount_code)
  • string $r_discount_code
  • &$r_discount_code
getPageAuthent (line 263)

Get the page authentification

  • return: TRUE on error
bool getPageAuthent ( &$r_page_identification, array $r_page_identification)
  • array $r_page_identification
  • &$r_page_identification
getSessionVar (line 339)

Get the session value

  • return: TRUE if not find
bool getSessionVar ( &$r_value, mixed $p_var, string $r_value)
  • string $r_value
  • mixed $p_var
  • &$r_value
getShoppingCartId (line 172)

Get he shopping cart id

string getShoppingCartId ()
isNotExistingShoppingcart (line 101)

Test if is not existing a shopping cart

bool isNotExistingShoppingcart ()
isValidTuringTest (line 201)

Is valid turing test

  • return: TRUE on error
  • deprecated: Not used
bool isValidTuringTest (string $p_to_verify)
  • string $p_to_verify
setCustomerAuthent (line 215)

Set the customer authentification

void setCustomerAuthent (string $p_cus_email, stirng $p_cus_id)
  • string $p_cus_email
  • stirng $p_cus_id
setDiscountCode (line 293)

Code for discount management

void setDiscountCode (string $p_discount_code)
  • string $p_discount_code
setPageAuthent (line 251)

Set the page authentification

void setPageAuthent (array $p_page_identification)
  • array $p_page_identification
setSessionVar (line 324)

Set session value

void setSessionVar (string $p_var, mixed $p_value)
  • string $p_var
  • mixed $p_value
setShoppingcartExist (line 119)

Set shopping cart exist

void setShoppingcartExist (string $p_id)
  • string $p_id
setTuringTest (line 189)

Set turing test

  • deprecated: Not used
void setTuringTest (string $p_value)
  • string $p_value
unsetSessionVar (line 357)

Destroy the session value

void unsetSessionVar (mixed $p_var)
  • mixed $p_var

Inherited Methods

Inherited From xTSessionScope

 xTSessionScope::xTSessionScope()
 xTSessionScope::destroyIfNeeded()
 xTSessionScope::forceCleanning()
 xTSessionScope::forceDestroy()
 xTSessionScope::forceToLoad()
 xTSessionScope::generateUniqueId()
 xTSessionScope::getDatabaseId()
 xTSessionScope::isNotValidId()
 xTSessionScope::xClean()
 xTSessionScope::xExist()
 xTSessionScope::xForceToLoad()
 xTSessionScope::xInsert()
 xTSessionScope::xLoadSession()
 xTSessionScope::xUnset()
 xTSessionScope::xUpdate()

Documentation generated on Tue, 25 Mar 2008 15:37:19 +0100 by phpDocumentor 1.3.2