categories_dropdown.php File Reference

categories menu in liste More...

Go to the source code of this file.

Variables

  • $DB = Database::getInstance()
  • $tree = array()
  • $languages_id = $page->the_var('languages_id')
  • $categories_query = $DB->query($sql="select c.categories_id, cd.categories_name, c.parent_id, c.sort_order from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and c.categories_status='1' and c.categories_hidden='1' and cd.language_id='" . $languages_id ."' order by c.sort_order asc ")
  • $last_root = 0
  • $first_root = 0
  • while($categories=$categories_query->
    fetchAssoc()) $categories_string = '<ul>' . "\n"
  • $array = array('title'=>__('categories menu'),'content'=>tep_output_string_protected($categories_string,false,true))

Detailed Description

categories menu in liste

Definition in file categories_dropdown.php.


Variable Documentation

$array = array('title'=>__('categories menu'),'content'=>tep_output_string_protected($categories_string,false,true))

Definition at line 66 of file categories_dropdown.php.

$categories_query = $DB->query($sql="select c.categories_id, cd.categories_name, c.parent_id, c.sort_order from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and c.categories_status='1' and c.categories_hidden='1' and cd.language_id='" . $languages_id ."' order by c.sort_order asc ")

Definition at line 17 of file categories_dropdown.php.

Referenced by categorieData::get_categories().

if ($first_root!=0) $categories_string = '<ul>' . "\n"

Definition at line 53 of file categories_dropdown.php.

Referenced by tep_build_tree(), and tep_cache_categories_box().

$DB = Database::getInstance()

Definition at line 14 of file categories_dropdown.php.

$first_root = 0

Definition at line 19 of file categories_dropdown.php.

$languages_id = $page->the_var('languages_id')

Definition at line 16 of file categories_dropdown.php.

$last_root = 0

Definition at line 18 of file categories_dropdown.php.

$tree = array()

Definition at line 15 of file categories_dropdown.php.

Referenced by tep_build_tree(), and tep_cache_categories_box().