SproutCMS

This is the code documentation for the SproutCMS project

function create()

Creates a category.
Returns the id or NULL on failure.

Usage

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

Arguments

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