SproutCMS

This is the code documentation for the SproutCMS project

function contains()

Does a given category contatin a given record?
Returns true if found, false otherwise

Usage

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

Arguments

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