[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/database/table/ -> category.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 229 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JTableCategory:: (7 methods):
  __construct()
  _getAssetName()
  _getAssetTitle()
  _getAssetParentId()
  check()
  bind()
  store()


Class: JTableCategory  - X-Ref

Category table

__construct(&$db)   X-Ref
Constructor

param: JDatabase  &$db  A database connector object

_getAssetName()   X-Ref
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.

return: string

_getAssetTitle()   X-Ref
Method to return the title to use for the asset table.

return: string

_getAssetParentId($table = null, $id = null)   X-Ref
Get the parent asset id for the record

param: JTable   $table  A JTable object for the asset parent.
param: integer  $id     The id for the asset
return: integer  The id of the asset's parent

check()   X-Ref
Override check function

return: boolean

bind($array, $ignore = '')   X-Ref
Overloaded bind function.

param: array   $array   named array
param: string  $ignore  An optional array or space separated list of properties
return: mixed   Null if operation was satisfactory, otherwise returns an error

store($updateNulls = false)   X-Ref
Overridden JTable::store to set created/modified and user id.

param: boolean  $updateNulls  True to update fields even if they are null.
return: boolean  True on success.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1