Class categories_parser

Description

Category parser class to perform the majority of category parsing functions within ILance.

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.categories_parser.inc.php (line 28)

categories
   |
   --categories_parser
Variable Summary
mixed $cacheid
Method Summary
string fetch_recursive_categories ([integer $parentid = 0], [integer $level = 1], [string $ctypefield = ''], [string $ctype = ''], [string $dbtable = ''], [string $seotype = ''], [array $detailpage = ''], [boolean $showcount = 1], [string $slng = 'eng'], [string $cidfield = ''], [string $cidtitle = ''], [boolean $iscatmap = 0], [string $parentstyle = ''], [string $childstyle = ''], [integer $subcatdepth = 0], [string $displaycolumns = 3], [string $tempcount = 0], [ $hidden_html = ''], [ $show_html = ''], [ $categorycache = ''])
void print_subcategory_columns ([integer $columns = 1], [string $cattype = 'service'], [bool $dosubcats = 1], [string $slng = 'eng'], [integer $cid = 0], [string $extra = ''], [boolean $showcount = 1], [boolean $iscatmap = 0], [string $parentstyle = ''], [string $childstyle = ''], [integer $subcatdepth = 0], [string $cacheid = ''])
Variables
Methods
fetch_recursive_categories (line 55)

Function to fetch categories recursively

  • return: Returns HTML formatted table with category results
string fetch_recursive_categories ([integer $parentid = 0], [integer $level = 1], [string $ctypefield = ''], [string $ctype = ''], [string $dbtable = ''], [string $seotype = ''], [array $detailpage = ''], [boolean $showcount = 1], [string $slng = 'eng'], [string $cidfield = ''], [string $cidtitle = ''], [boolean $iscatmap = 0], [string $parentstyle = ''], [string $childstyle = ''], [integer $subcatdepth = 0], [string $displaycolumns = 3], [string $tempcount = 0], [ $hidden_html = ''], [ $show_html = ''], [ $categorycache = ''])
  • integer $parentid: parent id
  • integer $level: level (default 1)
  • string $ctypefield: category type field
  • string $ctype: category type
  • string $dbtable: category database table
  • string $seotype: seo category type
  • array $detailpage: detail page to attach links
  • boolean $showcount: show category counters
  • string $slng: short language identifier
  • string $cidfield: category id field name
  • string $cidtitle: category title
  • boolean $iscatmap: is category map?
  • string $parentstyle: parent category title link style
  • string $childstyle: child category title link style
  • integer $subcatdepth: subcategory depth
  • string $displaycolumns: temp string holder for hidden links used in the more link logic
  • string $tempcount: temp string holder for more link
  • $hidden_html
  • $show_html
  • $categorycache
print_subcategory_columns (line 208)

Function to print the main subcategory columns of a particular category being viewed or selected

void print_subcategory_columns ([integer $columns = 1], [string $cattype = 'service'], [bool $dosubcats = 1], [string $slng = 'eng'], [integer $cid = 0], [string $extra = ''], [boolean $showcount = 1], [boolean $iscatmap = 0], [string $parentstyle = ''], [string $childstyle = ''], [integer $subcatdepth = 0], [string $cacheid = ''])
  • integer $columns: number of columns to display (default 1)
  • string $cattype: category type (service, product, serviceprovider, portfolio, stores, wantads)
  • bool $dosubcats: show subcategories?
  • string $slng: short language code (default is eng)
  • integer $cid: category id
  • string $extra: extra (optional)
  • boolean $showcount: show category counts? (default yes)
  • boolean $iscatmap: showing category map? (default no)
  • string $parentstyle: style css for parent listing titles (default blank)
  • string $childstyle: style css for child listing titles (default blank)
  • integer $subcatdepth: subcategory depth level to display (default 0 = root)
  • string $cacheid: cache id (to prevent similar cache pages) (default blank)

Inherited Methods

Inherited From categories

categories::categories()
categories::api_multicategory_select()
categories::auctioncount()
categories::bestmatch_auction_count()
categories::bidamounttypes()
categories::bidgroupdisplay()
categories::bidgrouping()
categories::breadcrumb()
categories::budgetgroup()
categories::build_array()
categories::can_post()
categories::cattype()
categories::construct_categories()
categories::description()
categories::display_children()
categories::fetch_children()
categories::fetch_children_ids()
categories::fetch_level_padding()
categories::fetch_parent_ids()
categories::fetch_portfolio_count()
categories::fetch_profile_answer_count()
categories::fetch_profile_question_count()
categories::fetch_profile_verification_count()
categories::finalvaluegroup()
categories::fixedfeeamount()
categories::get_cats()
categories::get_cats_recursive()
categories::incrementgroup()
categories::insertiongroup()
categories::keywords()
categories::level()
categories::nondisclosefeeamount()
categories::parentid()
categories::print_category_jump_js()
categories::print_category_newicon()
categories::print_searchable_questions()
categories::propersort()
categories::proxy_bid_ready()
categories::rebuild_category_geometry()
categories::rebuild_category_geometry_install()
categories::rebuild_category_tree()
categories::recursive()
categories::searchable_question_count()
categories::set_levels()
categories::set_levels_update()
categories::title()
categories::usefixedfees()
categories::useproxybid()
categories::usereserveprice()
categories::visible()
categories::wantads_in_category()

Documentation generated on Mon, 08 Aug 2011 17:40:52 +0200 by phpDocumentor 1.4.1