68 Classifieds API

Features
class tree: Smarty | index: Smarty | all elements

File/plugins/function.feature_listings_horizontal.php

Description
Includes

Includes:

require_once(FILESYSTEM_PATH.'includes/classes/kernel/Listings.php') [line 16]

Include the listings class

Functions
smarty_function_feature_listings_horizontal (line 34)

This function is useful for generating a horizontal table of featured listings.

Here is a list of available parameters:

  • number = integer The number of listings to return
  • cols = number of columns
  • rows = number of rows
  • table_attr = table attributes
  • tr_attr = table row attributes (arrays are cycled)
  • td_attr = table cell attributes (arrays are cycled)
  • trailpad = value to pad trailing cells with
  • vdir = vertical direction (default: "down", means top-to-bottom)
  • hdir = horizontal direction (default: "right", means left-to-right)
  • show_price = string Y or N

void smarty_function_feature_listings_horizontal ( $params,  &$smarty)
  • $params
  • &$smarty
smarty_function_html_table_cycle_68 (line 182)
void smarty_function_html_table_cycle_68 ( $name,  $var,  $no)
  • $name
  • $var
  • $no