private function getAssetParentId()
	{
		$assetId = null;

		// Build the query to get the asset id for the parent category
		$asset = Model::oneByName('com_' . $this->model->getNamespace());

		if ($asset->get('id'))
		{
			$assetId = (int)$asset->get('id');
		}

		return ($assetId) ? $assetId : $this->getRootId();
	}
private function getAssetParentId()
	{
		$assetId = null;

		// Build the query to get the asset id for the parent category
		$asset = Model::oneByName('com_' . $this->model->getNamespace());

		if ($asset->get('id'))
		{
			$assetId = (int)$asset->get('id');
		}

		return ($assetId) ? $assetId : $this->getRootId();
	}
private function getAssetParentId ( ) { $ assetId = null ; // Build the query to get the asset id for the parent category $ asset = Model :: oneByName ( 'com_' . $ this -> model -> getNamespace ( ) ) ; if ( $ asset -> get ( 'id' ) ) { $ assetId = ( int ) $ asset -> get ( 'id' ) ; } return ( $ assetId ) ? $ assetId : $ this -> getRootId ( ) ; }
Gets the parent asset id for the record

@return  int
@since   2.0.0
Gets the parent asset id for the record