protected function isSuperGroupAsset($asset)
	{
		if ($asset->extensionType() != 'components'
		 || $asset->isDeclaration()
		 || $asset->isExternal())
		{
			return $asset;
		}

		if (defined('JPATH_GROUPCOMPONENT'))
		{
			$base = JPATH_GROUPCOMPONENT;

			$asset->setPath('source', $base . DS . 'assets' . DS . $asset->type() . DS . $asset->file());
			//$asset->setPath('source', $base . DS . $asset->file());
		}

		return $asset;
	}
protected function isSuperGroupAsset($asset)
	{
		if ($asset->extensionType() != 'components'
		 || $asset->isDeclaration()
		 || $asset->isExternal())
		{
			return $asset;
		}

		if (defined('JPATH_GROUPCOMPONENT'))
		{
			$base = JPATH_GROUPCOMPONENT;

			$asset->setPath('source', $base . DS . 'assets' . DS . $asset->type() . DS . $asset->file());
			//$asset->setPath('source', $base . DS . $asset->file());
		}

		return $asset;
	}
protected function isSuperGroupAsset ( $ asset ) { if ( $ asset -> extensionType ( ) != 'components' || $ asset -> isDeclaration ( ) || $ asset -> isExternal ( ) ) { return $ asset ; } if ( defined ( 'JPATH_GROUPCOMPONENT' ) ) { $ base = JPATH_GROUPCOMPONENT ; $ asset -> setPath ( 'source' , $ base . DS . 'assets' . DS . $ asset -> type ( ) . DS . $ asset -> file ( ) ) ; //$asset->setPath('source', $base . DS . $asset->file()); } return $ asset ; }
Modify paths if in a super group

@param   object  $asset  Asset
@return  object
Modify paths if in a super group