Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JTableComponent

Description

Component table

  • since: 1.0

Located in /joomla/database/table/component.php (line 25)

Class JObject   (Subpackage Base)

Abstract class JTable
   
   Class JTableComponent   (Subpackage Table)
Variable Summary
Variable int $enabled
Variable int $id
Variable int $iscore
Variable string $link
Variable int $menuid
Variable string $name
Variable string $option
Variable string $ordering
Variable string $params
Variable int $parent
Method Summary
Constructor JTableComponent __construct (database &$db)
Method null|string bind ( $array, [ $ignore = ''], array $hash)
Method void check ()
Method boolean loadByOption (string $option)
Variables
string $admin_menu_alt = null (line 40)
string $admin_menu_img = null (line 46)
string $admin_menu_link = null (line 38)
int $enabled = null (line 52)
int $id = null (line 28)
  • var: Primary key
int $iscore = null (line 48)
string $link = null (line 32)
int $menuid = null (line 34)
string $name = null (line 30)
string $option = null (line 42)
string $ordering = null (line 44)
string $params = null (line 50)
int $parent = null (line 36)

Inherited Variables

Inherited from JTable

Variable JTable::$_db
Variable JTable::$_tbl
Variable JTable::$_tbl_key

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 57)
JTableComponent __construct (database &$db)
  • database &$db: A database connector object

Redefinition of:
JTable::__construct()
Object constructor to set table and key field
bind (line 103)

Overloaded bind function

  • return: null is operation was satisfactory, otherwise returns an error
  • since: 1.5
  • see: JTable:bind
  • access: public
null|string bind ( $array, [ $ignore = ''], array $hash)
  • array $hash: named array
  • $array
  • $ignore

Redefinition of:
JTable::bind()
Binds a named array/hash to this object
check (line 87)

Validate and filter fields

void check ()

Redefinition of:
JTable::check()
Generic check method
loadByOption (line 67)

Loads a data row by option

boolean loadByOption (string $option)
  • string $option: The component option value

Inherited Methods

Inherited From JTable

 JTable::__construct()
 JTable::addIncludePath()
 JTable::bind()
 JTable::canDelete()
 JTable::check()
 JTable::checkin()
 JTable::checkout()
 JTable::delete()
 JTable::getDBO()
 JTable::getInstance()
 JTable::getKeyName()
 JTable::getNextOrder()
 JTable::getTableName()
 JTable::hit()
 JTable::isCheckedOut()
 JTable::load()
 JTable::move()
 JTable::publish()
 JTable::reorder()
 JTable::reset()
 JTable::save()
 JTable::setDBO()
 JTable::store()
 JTable::toXML()

Inherited From JObject

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

Documentation generated on Sat, 14 Nov 2009 11:11:34 +0000 by phpDocumentor 1.3.1