Class JTableMenuType

Description

Menu Types table

  • since: 11.1

Located in /libraries/legacy/table/menu/type.php (line 19)

JObject
   |
   --JTable
      |
      --JTableMenuType
Method Summary
 JTableMenuType __construct (JDatabaseDriver $db)
 boolean check ()
 boolean delete ([mixed $pk = null])
 boolean store ([boolean $updateNulls = false])
Variables
Methods
Constructor __construct (line 28)

Constructor

  • since: 11.1
  • access: public
JTableMenuType __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.
check (line 41)

Overloaded check function

  • return: True on success, false on failure
  • see: JTable::check()
  • since: 11.1
  • access: public
boolean check ()

Redefinition of:
JTable::check()
Method to perform sanity checks on the JTable instance properties to ensure they are safe to store in the database. Child classes should override this method to make sure the data they are storing in the database is safe and as expected before storage.
delete (line 172)

Method to delete a row from the database table by primary key value.

boolean delete ([mixed $pk = null])
  • mixed $pk: An optional primary key value to delete. If not set the instance property value is used.

Redefinition of:
JTable::delete()
Method to delete a row from the database table by primary key value.
store (line 90)

Method to store a row in the database from the JTable instance properties.

If a primary key value is set the row with that primary key value will be updated with the instance property values. If no primary key value is set a new row will be inserted into the database with the properties from the JTable instance.

boolean store ([boolean $updateNulls = false])
  • boolean $updateNulls: True to update fields even if they are null.

Redefinition of:
JTable::store()
Method to store a row in the database from the JTable instance properties.

Inherited Methods

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:16:03 +0100 by phpDocumentor 1.4.3