Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JTableComponent

Description

Component table

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::$_error
Variable JTable::$_errorNum
Variable JTable::$_tbl
Variable JTable::$_tbl_key
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 88)

Validate and filter fields

void check ()

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

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::getError()
 JTable::getErrorNum()
 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::setError()
 JTable::setErrorNum()
 JTable::store()
 JTable::toXML()

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 20:54:45 +0000 by phpDocumentor 1.3.1