Ignore:
Timestamp:
Oct 23, 2004, 11:00:26 AM (20 years ago)
Author:
z0rglub
Message:

refactoring : rewrite of get_cat_display_name function header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r569 r572  
    145145}
    146146
    147 // The function get_cat_display_name returns a string containing the list
    148 // of upper categories to the root category from the lowest category shown
    149 // example : "anniversaires - fete mere 2002 - animaux - erika"
    150 // You can give this parameters :
    151 //   - $style : the style of the span tag for the lowest category,
    152 //     "font-style:italic;" for example
     147/**
     148 * returns the list of categories as a HTML string
     149 *
     150 * categories string returned contains categories as given in the input
     151 * array $cat_informations. $cat_informations array must be an association
     152 * of {category_id => category_name}. If url input parameter is empty,
     153 * returns only the categories name without links.
     154 *
     155 * @param array cat_informations
     156 * @param string separator
     157 * @param string url
     158 * @param boolean replace_space
     159 * @return string
     160 */
    153161function get_cat_display_name($cat_informations,
    154162                              $separator,
Note: See TracChangeset for help on using the changeset viewer.