JTableCategory

From Joomla! Documentation

Jump to: navigation, search

JTableCategory is a concrete table class which handles data-rows of the #__categories table.

Contents

Availability

From Joomla 1.5 Joomla 1.6

Defined in

/joomla/database/table/category.php

Extends

Reserved Database Field Names

The operation of this class is dependent on the existence of specially-named fields (columns) in the database table.

Field name Description
access
alias The alias for the cagegory
checked_out 1 for checked out, default 0
checked_out_time Time of check out
id Category ID. Primary Key.
image Category Image.
name The full name of the category
ordering Category Ordering
parent_id parent categroy of this category
published 1 if published, default null
section The section id
title The menu title for the category (a short name)

Methods

Method name Description
__construct Constructor. Takes table name, primary key and database reference.

Importing

jimport( 'joomla.database.table.category' );

See also

Personal tools