listing_cat.php File Reference

Go to the source code of this file.

Functions

  • if(!function_exists('sql_listing_cat')) in_obj_listing_cat ()
    Prepa et passage en object du module, affichage au seins boxe des modules.

Function Documentation

if (!function_exists('sql_listing_cat')) in_obj_listing_cat (  ) 

Prepa et passage en object du module, affichage au seins boxe des modules.

init aca module

Definition at line 48 of file listing_cat.php.

00048                              {
00049   global $page;
00050   $languages_id=$page->the_var('languages_id');
00051   $currencies=$page->return_object('currencies');
00052   $mod=$page->oscss_modules->_return('product_listing');
00054   $aca_listing=$page->new_class('listing');
00055   $p=array();
00056   if( ($res=$page->oscss_modules->_resultsql('listing_cat')) ==false ) return null;
00057   while ($ele_db = tep_db_fetch_array($res)){
00058     $p[]=new objectInfo(array_merge($ele_db,array('cPath'=>tep_get_path($ele_db['categories_id'])) ) );
00059   }
00060 
00061   return new objectInfo(array('title'=>HEADING_CHILD_CAT, 'content'=>$p ));
00062 
00063 }