protected function _getAssetParentId($table = null, $id = null)
	{
		// For simple cases, parent to the asset root.
		$rootId = \Hubzero\Access\Asset::getRootId();
		if (!empty($rootId))
		{
			return $rootId;
		}

		return 1;
	}
protected function _getAssetParentId($table = null, $id = null)
	{
		// For simple cases, parent to the asset root.
		$rootId = \Hubzero\Access\Asset::getRootId();
		if (!empty($rootId))
		{
			return $rootId;
		}

		return 1;
	}
protected function _getAssetParentId ( $ table = null , $ id = null ) { // For simple cases, parent to the asset root. $ rootId = \ Hubzero \ Access \ Asset :: getRootId ( ) ; if ( ! empty ( $ rootId ) ) { return $ rootId ; } return 1 ; }
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.

@param   object   $table  A Table object for the asset parent.
@param   integer  $id     Id to look up
@return  integer
@since   2.1.12
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 .