public static function addPluginStyleSheet($folder, $plugin, $stylesheet = '', $dir = 'css')
	{
		if ($dir != 'css')
		{
			$stylesheet = $dir . '/' . $stylesheet;
		}

		$asset = new Stylesheet('plg_' . $folder . '_' . $plugin, $stylesheet);

		if ($asset->exists())
		{
			if ($document = self::app('document'))
			{
				$document->addStyleSheet($asset->link());
			}
		}
	}
public static function addPluginStyleSheet($folder, $plugin, $stylesheet = '', $dir = 'css')
	{
		if ($dir != 'css')
		{
			$stylesheet = $dir . '/' . $stylesheet;
		}

		$asset = new Stylesheet('plg_' . $folder . '_' . $plugin, $stylesheet);

		if ($asset->exists())
		{
			if ($document = self::app('document'))
			{
				$document->addStyleSheet($asset->link());
			}
		}
	}
public static function addPluginStyleSheet ( $ folder , $ plugin , $ stylesheet = '' , $ dir = 'css' ) { if ( $ dir != 'css' ) { $ stylesheet = $ dir . '/' . $ stylesheet ; } $ asset = new Stylesheet ( 'plg_' . $ folder . '_' . $ plugin , $ stylesheet ) ; if ( $ asset -> exists ( ) ) { if ( $ document = self :: app ( 'document' ) ) { $ document -> addStyleSheet ( $ asset -> link ( ) ) ; } } }
Adds a linked stylesheet from a plugin to the page

@param   string  $folder      Plugin folder name
@param   string  $plugin      Plugin name
@param   string  $stylesheet  Stylesheet name (optional, uses module name if left blank)
@param   string  $dir         Asset directory to look in
@return  void
Adds a linked stylesheet from a plugin to the page