Class TagsTableTag

Description

Tags table

  • since: 3.1

Located in /administrator/components/com_tags/tables/tag.php (line 19)

JObject
   |
   --JTable
      |
      --JTableNested
         |
         --TagsTableTag
Method Summary
 TagsTableTag __construct (JDatabaseDriver $db)
 mixed bind (array $array, [mixed $ignore = ''])
 boolean check ()
 boolean delete ([integer $pk = null], [boolean $children = false])
 boolean store ([boolean $updateNulls = false])
Variables
Methods
Constructor __construct (line 26)

Constructor

  • access: public
TagsTableTag __construct (JDatabaseDriver $db)

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 43)

Overloaded bind function

  • return: Null if operation was satisfactory, otherwise returns an error string
  • see: JTable::bind
  • since: 3.1
  • access: public
mixed bind (array $array, [mixed $ignore = ''])
  • array $array: Named array
  • mixed $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 84)

Overloaded check method to ensure data integrity.

  • return: True on success.
  • since: 3.1
  • throws: UnexpectedValueException
  • access: public
boolean check ()

Redefinition of:
JTableNested::check()
Checks that the object is valid and able to be stored.
delete (line 195)

Method to delete a node and, optionally, its child nodes from the table.

boolean delete ([integer $pk = null], [boolean $children = false])
  • integer $pk: The primary key of the node to delete.
  • boolean $children: True to delete child nodes, false to move them up a level.

Redefinition of:
JTableNested::delete()
Method to delete a node and, optionally, its child nodes from the table.
store (line 153)

Overriden JTable::store to set modified data and user id.

  • return: True on success.
  • since: 3.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.

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::appendPrimaryKeys()
 JTable::attachObserver()
 JTable::bind()
 JTable::check()
 JTable::checkIn()
 JTable::checkOut()
 JTable::delete()
 JTable::getDbo()
 JTable::getFields()
 JTable::getInstance()
 JTable::getKeyName()
 JTable::getNextOrder()
 JTable::getObserverOfClass()
 JTable::getPrimaryKey()
 JTable::getRules()
 JTable::getTableName()
 JTable::hasPrimaryKey()
 JTable::hit()
 JTable::isCheckedOut()
 JTable::load()
 JTable::move()
 JTable::publish()
 JTable::reorder()
 JTable::reset()
 JTable::save()
 JTable::setDBO()
 JTable::setRules()
 JTable::store()
 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()

Documentation generated on Tue, 19 Nov 2013 15:15:09 +0100 by phpDocumentor 1.4.3