fuel/fuel/core/classes/theme.php
public function asset_path($path)
	{
		if ($this->active['path'] === null)
		{
			throw new \ThemeException('You must set an active theme.');
		}

		if ($this->active['asset_base'])
		{
			return $this->active['asset_base'].$path;
		}
		else
		{
			return $this->active['path'].$path;
		}
	}
public function asset_path($path)
	{
		if ($this->active['path'] === null)
		{
			throw new \ThemeException('You must set an active theme.');
		}

		if ($this->active['asset_base'])
		{
			return $this->active['asset_base'].$path;
		}
		else
		{
			return $this->active['path'].$path;
		}
	}
public function asset_path ( $ path ) { if ( $ this -> active [ 'path' ] === null ) { throw new \ ThemeException ( 'You must set an active theme.' ) ; } if ( $ this -> active [ 'asset_base' ] ) { return $ this -> active [ 'asset_base' ] . $ path ; } else { return $ this -> active [ 'path' ] . $ path ; } }
Loads an asset from the currently loaded theme.

@param   string  $path  Relative path to the asset
@return  string  Full asset URL or path if outside docroot
Loads an asset from the currently loaded theme .