JTable::_getAssetParentId
Method to get the parent asset under which to register this one.
By default, all assets are registered to the ROOT node with ID, which will default to 1 if none exists. The extended class can define a table and id to lookup. If the asset does not exist it will be created.
Signature
protected function _getAssetParentId([JTable
$table = null,
[integer
$id = null]] )
Parameters
-
$table
- A JTable object for the asset parent.
-
$id
- Id to look up
Returns
- integer