TProductMasterManage the product master (one product master can contain 1 or more product slaves)
Located in /core/internal_components/admin_sites/t_product/t_productmaster.class.php (line 57)
bool
getCount
(integer $p_page_id, string $p_word, string $p_action_method, &$r_result, array $r_result)
bool
getListWithSlavesTAttributByRayIdAndOrWord
(integer $p_page_id, string $p_word, string $p_action_method, &$r_result, [integer $p_limit_start = 0], [integer $p_limit_count = 0], [string $p_order_by = "title_asc"], [string $p_cus_id = ""], array $r_result)
bool
getWithTProductSlaveAndTAttribut
(integer $p_pma_id, &$r_result, [bool $p_generate_input_name = false], [bool $p_load_image_array = false], array $r_result)
bool
insert
( &$r_pma_id, string $p_pma_active, string $p_pma_title, &$p_pma_desc_little, string $p_pma_desc_full, integer $p_pma_tty_id, integer $p_pma_dty_id, date $p_pma_duration, date $p_pma_start_period, date $p_pma_end_period, integer $r_pma_id, string $p_pma_desc_little)
bool
xGetArrayMastersSlavesAndTAttribut
(resource $r_db_res, &$r_result, [string $p_generate_input_name = false], [bool $p_load_image_array = false], [false $cupr_pmo_id_exist = false], array $r_result)
bool
xGetListPmaIdAloneWithSlavesTAttributByRayIdAndOrWord
(integer $p_page_id, string $p_word, string $p_action_method, &$r_result, [integer $p_limit_start = 0], [integer $p_limit_count = 0], [string $p_order_by = "title_asc"], array $r_result)
bool
xGetMinAvgMaxPrix
(integer $p_pma_id, &$r_min, &$r_avg, &$r_max, flaot $r_min, float $r_avg, float $r_max)
DbConnexion
$m_db_connexion
= NULL (line 195)
Database Connexion object
string
$m_dynamique_part
= "|DYN_REQU|" (line 64)
A marker to replace by parameters in requests
TPictureTProductSlave
$m_object_tpicture
= NULL (line 214)
TPictureTProductSlave Object
TProductModfier
$m_object_tproductmodifier
= NULL (line 226)
TProductModfier Object
TProductSlave
$m_object_tproductslave
= NULL (line 208)
TProductSlave Object
siteInformation
$m_site_information
= NULL (line 201)
SiteInformation Object
string
$req_count
= "" (line 161)
SQL Request : Count
string
$req_count_by_action_method
= "" (line 167)
SQL Request : Count by action method
string
$req_delete
= "" (line 125)
SQL Request : Delete
string
$req_insert
= "" (line 71)
SQL Request : insert
string
$req_select
= "" (line 137)
SQL Request : Select
string
$req_select_alone
= "" (line 143)
SQL Request : Select one
string
$req_select_min_avg_max
= "" (line 149)
SQL Request : Select min average max
string
$req_select_pmaid_alone_with_slave_attribut_by_ray
= "" (line 183)
string
$req_select_pmaid_alone_with_slave_attribut_by_ray_by_action_method
= "" (line 187)
string
$req_select_with_slave_attribut
= "" (line 155)
SQL Request : Select with slave products and attributs
string
$req_select_with_slave_attribut_by_ray
= "" (line 173)
SQL Request : Select with slaves and attribut by page
string
$req_select_with_slave_attribut_by_ray_by_action_method
= "" (line 179)
SQL Request : Select with slaves and attribut by page and by method
string
$req_update
= "" (line 77)
SQL Request : Update
string
$req_update_deliverycosts
= "" (line 95)
SQL Request : Update deliverycosts
string
$req_update_deliverycosts_in
= "" (line 101)
SQL Request : Update deliverycosts (in)
string
$req_update_deliverycosts_to_new
= "" (line 107)
SQL Request : Update deliverycosts to new
string
$req_update_min_avg_max
= "" (line 131)
SQL Request : Update min average max
string
$req_update_sate
= "" (line 83)
SQL Request : update state
string
$req_update_sate_in
= "" (line 89)
SQL Request :
string
$req_update_tva
= "" (line 113)
SQL Request : Update tva
string
$req_update_tva_in
= "" (line 119)
SQL Request : Update tva in
Constructor, init the requests and objects
Delete a product master and change r_pma_id to 0
Get one
Get product master with no product slave
Get count
Get product master with slaves, attributs by page
Get a product master with slaves and attributs
Insert a product master
pma_id will contain the new pma_id for the product master
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
Parameter Integrity checker
update a product master
Update deliverycost id for a product
Update deliverycost id to new deliverycost id
Update min, averag, max price for a product
Update sate for a product
Update the TVA product
Get all the products
Format array to an array with master, slaves and attribut
Get a product with slaves attribut
Get min, average, max price for a product
Check integrity
Documentation generated on Tue, 25 Mar 2008 15:37:05 +0100 by phpDocumentor 1.3.2