SproutCMS

This is the code documentation for the SproutCMS project

function name()

Get the name of a category based on the category id
Returns the name, or NULL if not found.

Usage

unknown Category::name ( string $table , string $id );

Arguments

  1. string $table
    The 'main' table (e.g. 'articles')
  2. string $id
    The ID of the category to get the name of