You are here

function ed_classified_theme in Classified Ads 7.2

Same name and namespace in other branches
  1. 5.2 ed_classified_themefuncs.inc \ed_classified_theme()
  2. 5 ed_classified_themefuncs.inc \ed_classified_theme()
  3. 6.2 ed_classified_themefuncs.inc \ed_classified_theme()

Drupal 6 hook_theme() registration function

File

./ed_classified_themefuncs.inc, line 20
$ Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All…

Code

function ed_classified_theme() {
  return array(
    'ed_classified_body' => array(
      'arguments' => array(
        'node',
      ),
    ),
    'ed_classified_teaser' => array(
      'arguments' => array(
        'node',
      ),
    ),
    'ed_classified_ending_date' => array(
      'arguments' => array(
        'ad_expiration_date',
      ),
    ),
    'ed_classified_ads_block' => array(
      'arguments' => array(
        'ads',
        'display_timestamp' => TRUE,
        'display_counter' => FALSE,
        'display_ad_category' => FALSE,
      ),
    ),
    'ed_classified_taxonomy' => array(
      'arguments' => array(
        'cats' => NULL,
        'ads' => NULL,
      ),
    ),
    'ed_classified_adcount' => array(
      'arguments' => array(
        'count' => NULL,
      ),
    ),
    'ed_classified_taxonomy_catlist' => array(
      'arguments' => array(
        'cats' => NULL,
      ),
    ),
    'ed_classified_category_list_row' => array(
      'arguments' => array(
        'cat' => NULL,
        'row_count' => NULL,
      ),
    ),
    'ed_classified_taxonomy_ads' => array(
      'arguments' => array(
        'ads' => NULL,
      ),
    ),
    'ed_classified_category_list_ad_row' => array(
      'arguments' => array(
        'ad' => NULL,
        'rowcount' => NULL,
      ),
    ),
    'ed_classified_category_name' => array(
      'arguments' => array(
        'cat' => NULL,
      ),
    ),
    'ed_classified_category_description' => array(
      'arguments' => array(
        'cat' => NULL,
      ),
    ),
    'ed_classified_ads_stats' => array(),
  );
}