Hotaru Docs

 [həʊdɒks]

Function Reference/getCatSafeName

Description

Returns the category safe name for a given category id.

Usage

<?php $h->getCatName( $cat_id ) ?>

Parameters

$cat_id | integer

Return Values

a urldecoded string

Examples

<?php
     $cat_name = $h->getCatSafeName(5);
     echo $cat_name;    
?>

Source File

getCatSafeName() is located in content/hotaru.php which calls the category.php file from the LIBS folder.

Related