public static function &_getResource ($name)
	{
		
		if (is_array ($name))
		{
			return Sonic::getResource ($name);
		}
		else if (isset (static::$defaultResources[$name]))
		{
			return Sonic::getResource (static::$defaultResources[$name]);
		}
		else
		{
			return Sonic::getSelectedResource ($name);
		}
		
	}
public static function &_getResource ($name)
	{
		
		if (is_array ($name))
		{
			return Sonic::getResource ($name);
		}
		else if (isset (static::$defaultResources[$name]))
		{
			return Sonic::getResource (static::$defaultResources[$name]);
		}
		else
		{
			return Sonic::getSelectedResource ($name);
		}
		
	}
public static function & _getResource ( $ name ) { if ( is_array ( $ name ) ) { return Sonic :: getResource ( $ name ) ; } else if ( isset ( static :: $ defaultResources [ $ name ] ) ) { return Sonic :: getResource ( static :: $ defaultResources [ $ name ] ) ; } else { return Sonic :: getSelectedResource ( $ name ) ; } }
Return a class resource
This will either be the default as defined for the class or the global framework resource
@param string|array $name Resource name
@return object|boolean
Return a class resource This will either be the default as defined for the class or the global framework resource