categorie Class Reference

Control init et gestion des data product. More...

List of all members.

Public Member Functions

  • ret_modules ()
    Retour tableau des modules type products actif.

Static Public Member Functions

Static Public Attributes

Protected Member Functions

Static Protected Member Functions

Static Protected Attributes


Detailed Description

Control init et gestion des data product.

Definition at line 18 of file driver.categorie.php.


Constructor & Destructor Documentation

categorie::__construct ( full  )  [protected]

Definition at line 27 of file driver.categorie.php.

00027                                         {
00028     global $languages_id;
00029 //     productData::start();
00030     if($full) self::start_module();
00031   }


Member Function Documentation

static categorie::add_where_query ( where  )  [static]

Definition at line 68 of file driver.categorie.php.

Referenced by category_tree::__construct().

00068 { return categorieData::add_where_query($where); }

static categorie::get_categories ( categories_array = '',
parent_id = '0',
indent = '' 
) [static]

Definition at line 64 of file driver.categorie.php.

Referenced by tep_get_categories().

00064 { return categorieData::get_categories($categories_array , $parent_id, $indent); }

static categorie::get_count_content_in_category ( category_id  )  [static]

Definition at line 60 of file driver.categorie.php.

00060 { return categorieData::get_count_content_in_category($category_id); }

static categorie::get_count_products_in_category ( category_id,
include_inactive = false 
) [static]

Definition at line 59 of file driver.categorie.php.

Referenced by category_tree::calculateCategoryProductCount(), and tep_count_products_in_category().

00059 { return categorieData::get_count_products_in_category($category_id,$include_inactive); }

static categorie::get_has_category_subcategories ( category_id  )  [static]

Definition at line 61 of file driver.categorie.php.

Referenced by tep_has_category_subcategories().

00061 { return categorieData::get_has_category_subcategories($category_id); }

static categorie::get_item ( id  )  [static]

Definition at line 67 of file driver.categorie.php.

00067 { return categorieData::get_item($id); }

categorie::get_option_data ( product_array  )  [static]

adjust products, depend class price, execute by productData

Parameters:
$product_array array

Definition at line 88 of file driver.categorie.php.

Referenced by categorieData::statment_query().

00088 { $pdm=self::start_module();return $pdm->get_option_data($_array);}

static categorie::get_parent_categories ( &$  categories,
categories_id 
) [static]

Definition at line 62 of file driver.categorie.php.

Referenced by tep_get_parent_categories().

00062 { return categorieData::get_parent_categories($categories, $categories_id); }

static categorie::get_path ( current_category_id = '',
value = false 
) [static]

Module configuration.

Data function

Definition at line 58 of file driver.categorie.php.

Referenced by tep_get_path().

00058 { return categorieData::get_path($current_category_id,$value); }

static categorie::get_query ( id = '',
search = '',
exclude = '',
option = '' 
) [static]

Definition at line 66 of file driver.categorie.php.

Referenced by category_tree::__construct().

00066 { global $languages_id; return categorieData::get_query($id,$search,$exclude,$option); }

static categorie::get_subcategories ( &$  subcategories_array,
parent_id = 0 
) [static]

Definition at line 63 of file driver.categorie.php.

Referenced by tep_get_subcategories().

00063 { return categorieData::get_subcategories($subcategories_array, $parent_id); }

static categorie::getInstance ( full = true  )  [static]

Definition at line 39 of file driver.categorie.php.

Referenced by resetInstance(), and start_module().

00039                                                  {
00040     if(self::$_instance == null) self::$_instance = new self($full);
00041     return self::$_instance;
00042   }

categorie::resetCacheId ( id  )  [static]

delet item in cache

Parameters:
$id integer id cat

Definition at line 75 of file driver.categorie.php.

00075 { return categorieData::resetCacheId($id); }

static categorie::resetInstance (  )  [static]

Definition at line 44 of file driver.categorie.php.

00044                                         {
00045     self::$_instance = null;
00046     return self::getInstance();
00047   }

categorie::ret_modules (  ) 

Retour tableau des modules type products actif.

Returns:
plusieurs modules via array(object)

Definition at line 82 of file driver.categorie.php.

00082 { self::start_module(); return self::$modules;}

static categorie::start_module (  )  [static, protected]

Definition at line 33 of file driver.categorie.php.

Referenced by __construct(), get_option_data(), and ret_modules().

00033                                           {
00034     $pdm=categorieModule::getInstance();
00035     self::$modules=$pdm->ret_modules();
00036     return $pdm;
00037   }


Member Data Documentation

categorie::$_instance [static, protected]

object

Definition at line 21 of file driver.categorie.php.

categorie::$modules [static]

Definition at line 23 of file driver.categorie.php.


The documentation for this class was generated from the following file: