Class TProductSlaveFo

Description

Manage the product slaves

  • author: SimpliciWeb
  • version: $Id: t_productslave_fo.class.php 602 2007-07-18 16:18:38Z stephanet $

Located in /core/internal_components/front_sites/t_product/t_productslave_fo.class.php (line 60)


	
			
Variable Summary
Method Summary
 bool checkSufficientStock (array $p_psl_id_list)
 bool getLittlePicture ( &$r_result, integer $p_psl_id, array $r_result)
 bool getUnique (integer $p_pma_id,  &$r_psl_id, integer $r_psl_id)
 bool isNotValidActionMethod (string $p_value)
 bool isNotValidBuyingPrice (string $p_value)
 bool isNotValidFirstSelected (string $p_value)
 bool isNotValidId (string $p_value)
 bool isNotValidReference (string $p_value)
 bool isNotValidTaxFreePrice (string $p_value)
 bool isNotValidWeight (string $p_value)
Variables
DbConnexion $m_object_dbconnexion = NULL (line 86)

Database Connexion object

Format $m_object_format = NULL (line 98)

Format Object

siteInformation $m_object_siteinformation = NULL (line 92)

SiteInformation Object

TProductMasterFo $m_object_tproductmasterfo = NULL (line 104)

TProductMasterFo Object

string $req_check_sufficient_stock = "" (line 74)

SQL Request : Check if we must send alert for low stock

string $req_select_by_primary_key = "" (line 80)

SQL Request : Get product slave information

string $req_unique_psl_id = "select psl_id from t_productslave where psl_pma_id = %d;" (line 67)

SQL Request : Select unique product slave id

Methods
Constructor TProductSlaveFo (line 112)

Constructor, init the requests and objects

TProductSlaveFo TProductSlaveFo ()
checkSufficientStock (line 308)

Probe to detect if stock are low for selected product slave

  • return: TRUE on error
bool checkSufficientStock (array $p_psl_id_list)
  • array $p_psl_id_list
getLittlePicture (line 262)

Get little picture.

Get the little picture for selected product slave

  • return: TRUE on error
bool getLittlePicture ( &$r_result, integer $p_psl_id, array $r_result)
  • array $r_result
  • integer $p_psl_id
  • &$r_result
getUnique (line 221)

Get unique

  • return: TRUE on error
bool getUnique (integer $p_pma_id,  &$r_psl_id, integer $r_psl_id)
  • integer $p_pma_id
  • integer $r_psl_id
  • &$r_psl_id
isNotValidActionMethod (line 206)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidActionMethod (string $p_value)
  • string $p_value
isNotValidBuyingPrice (line 196)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidBuyingPrice (string $p_value)
  • string $p_value
isNotValidFirstSelected (line 186)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidFirstSelected (string $p_value)
  • string $p_value
isNotValidId (line 146)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidId (string $p_value)
  • string $p_value
isNotValidReference (line 166)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidReference (string $p_value)
  • string $p_value
isNotValidTaxFreePrice (line 156)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidTaxFreePrice (string $p_value)
  • string $p_value
isNotValidWeight (line 176)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidWeight (string $p_value)
  • string $p_value

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