SproutCMS

This is the code documentation for the SproutCMS project

function categoryList()

Return an array of IDs of categories a record is in.
If there are no categories, returns an empty array.

Usage

unknown Category::categoryList ( string $table , int $record_id );

Arguments

  1. string $table
    The 'main' table (e.g. 'articles')
  2. int $record_id
    The id in the main table.