Class TemplatesTableStyle

Description

Located in /administrator/components/com_templates/tables/style.php (line 14)

JObject
   |
   --JTable
      |
      --TemplatesTableStyle
Method Summary
TemplatesTableStyle __construct (JDatabase &$db)
null|string bind (array $array, [ $ignore = ''])
boolean check ()
boolean delete ([mixed $pk = null])
boolean store ([boolean $updateNulls = false])
Variables
Methods
Constructor __construct (line 21)

Constructor

  • access: public
TemplatesTableStyle __construct (JDatabase &$db)
  • JDatabase &$db: A database connector object

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

Overloaded bind function to pre-process the params.

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

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

Overloaded check method to ensure data integrity.

  • return: True on success.
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 98)

Overloaded store method to unsure existence of a default style for a template.

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

Overloaded store method to ensure unicity of default style.

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::bind()
JTable::canDelete()
JTable::check()
JTable::checkIn()
JTable::checkOut()
JTable::delete()
JTable::getDbo()
JTable::getFields()
JTable::getInstance()
JTable::getKeyName()
JTable::getNextOrder()
JTable::getRules()
JTable::getTableName()
JTable::hit()
JTable::isCheckedOut()
JTable::load()
JTable::move()
JTable::publish()
JTable::reorder()
JTable::reset()
JTable::save()
JTable::setDBO()
JTable::setRules()
JTable::store()
JTable::toXML()
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()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:59:55 -0500 by phpDocumentor 1.4.4