Class JTableCategory

Description

Category table

  • since: 11.1

Located in /libraries/joomla/database/table/category.php (line 21)

JObject
   |
   --JTable
      |
      --JTableNested
         |
         --JTableCategory
Direct descendents
Class Description
CategoriesTableCategory
Method Summary
JTableCategory __construct (JDatabase &$db)
mixed bind (array $array, [string $ignore = ''])
boolean check ()
boolean store ([boolean $updateNulls = false])
string _getAssetName ()
integer _getAssetParentId ([JTable $table = null], [integer $id = null])
string _getAssetTitle ()
Variables
Methods
Constructor __construct (line 30)

Constructor

  • since: 11.1
  • access: public
JTableCategory __construct (JDatabase &$db)
  • JDatabase &$db: A database connector object

Redefinition of:
JTable::__construct()
Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.
bind (line 166)

Overloaded bind function.

  • return: Null if operation was satisfactory, otherwise returns an error
  • see: JTable::bind
  • since: 11.1
  • access: public
mixed bind (array $array, [string $ignore = ''])
  • array $array: named array
  • string $ignore: An optional array or space separated list of properties to ignore while binding.

Redefinition of:
JTable::bind()
Method to bind an associative array or object to the JTable instance.This method only binds properties that are publicly accessible and optionally takes an array of properties to ignore when binding.
check (line 131)

Override check function

  • see: JTable::check
  • since: 11.1
  • access: public
boolean check ()

Redefinition of:
JTableNested::check()
Asset that the nested set data is valid.
store (line 201)

Overridden JTable::store to set created/modified and user id.

  • return: True on success.
  • since: 11.1
  • access: public
boolean store ([boolean $updateNulls = false])
  • boolean $updateNulls: True to update fields even if they are null.

Redefinition of:
JTableNested::store()
Method to store a node in the database table.
_getAssetName (line 46)

Method to compute the default name of the asset.

The default name is in the form table_name.id where id is the value of the primary key of the table.

  • since: 11.1
  • access: protected
string _getAssetName ()

Redefinition of:
JTable::_getAssetName()
Method to compute the default name of the asset.
_getAssetParentId (line 74)

Get the parent asset id for the record

  • return: The id of the asset's parent
  • since: 11.1
  • access: protected
integer _getAssetParentId ([JTable $table = null], [integer $id = null])
  • JTable $table: A JTable object for the asset parent.
  • integer $id: The id for the asset

Redefinition of:
JTable::_getAssetParentId()
Method to get the parent asset under which to register this one.
_getAssetTitle (line 59)

Method to return the title to use for the asset table.

  • since: 11.1
  • access: protected
string _getAssetTitle ()

Redefinition of:
JTable::_getAssetTitle()
Method to return the title to use for the asset table. In

Inherited Methods

Inherited From JTableNested

JTableNested::check()
JTableNested::debug()
JTableNested::delete()
JTableNested::getPath()
JTableNested::getRootId()
JTableNested::getTree()
JTableNested::isLeaf()
JTableNested::move()
JTableNested::moveByReference()
JTableNested::orderDown()
JTableNested::orderUp()
JTableNested::publish()
JTableNested::rebuild()
JTableNested::rebuildPath()
JTableNested::saveorder()
JTableNested::setLocation()
JTableNested::store()
JTableNested::_getNode()
JTableNested::_getTreeRepositionData()
JTableNested::_logtable()
JTableNested::_runQuery()

Inherited From JTable

JTable::__construct()
JTable::addIncludePath()
JTable::bind()
JTable::canDelete()
JTable::check()
JTable::checkIn()
JTable::checkOut()
JTable::delete()
JTable::getDbo()
JTable::getFields()
JTable::getInstance()
JTable::getKeyName()
JTable::getNextOrder()
JTable::getRules()
JTable::getTableName()
JTable::hit()
JTable::isCheckedOut()
JTable::load()
JTable::move()
JTable::publish()
JTable::reorder()
JTable::reset()
JTable::save()
JTable::setDBO()
JTable::setRules()
JTable::store()
JTable::toXML()
JTable::_getAssetName()
JTable::_getAssetParentId()
JTable::_getAssetTitle()
JTable::_lock()
JTable::_unlock()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:52:56 -0500 by phpDocumentor 1.4.4