Joomla! Platform 12.1

 Class JTableAsset

Description

Table class supporting modified pre-order tree traversal behavior.

Located in /libraries/joomla/table/asset.php (line 20)

Class JObject   (Subpackage Object)

Abstract class JTable
   
   Class JTableNested
      
      Class JTableAsset   (Subpackage Table)
Variable Summary
Variable integer $id
Variable string $name
Variable string $rules
Variable string $title
Method Summary
Constructor JTableAsset __construct (JDatabaseDriver $db)
Method boolean check ()
Method integer loadByName (string $name)
Variables
integer $id = null (line 28)

The primary key of the asset.

  • since: 11.1
  • access: public
string $name = null (line 36)

The unique name of the asset.

  • since: 11.1
  • access: public
string $rules = null (line 52)

The rules for the asset stored in a JSON string

  • since: 11.1
  • access: public
string $title = null (line 44)

The human readable title of the asset.

  • since: 11.1
  • access: public

Inherited Variables

Inherited from JTableNested

Variable JTableNested::$alias
Variable JTableNested::$level
Variable JTableNested::$lft
Variable JTableNested::$parent_id
Variable JTableNested::$rgt
Variable JTableNested::$_cache
Variable JTableNested::$_debug
Variable JTableNested::$_location
Variable JTableNested::$_location_id

Inherited from JTable

Variable JTable::$_db
Variable JTable::$_locked
Variable JTable::$_rules
Variable JTable::$_tbl
Variable JTable::$_tbl_key
Variable JTable::$_trackAssets

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 61)

Constructor

  • since: 11.1
  • access: public
JTableAsset __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 102)

Assert that the nested set data is valid.

boolean check ()

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

Method to load an asset by its name.

  • since: 11.1
  • access: public
integer loadByName (string $name)
  • string $name: The name of the asset.

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::bind()
 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::_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()
/html>