FOFTable::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
public function getAssetParentId([FOFTable
$table = null,
[integer
$id = null]] )
Parameters
-
$table
- A FOFTable object for the asset parent.
-
$id
- Id to look up
Returns
- integer