ERXResourceManager.IVersionManager Interface Reference

Inherited by ERXResourceManager.DefaultVersionManager, and ERXResourceManager.PropertiesVersionManager.

List of all members.

Public Member Functions

String versionedUrlForResourceNamed (String resourceUrl, String name, String bundleName, NSArray languages, WORequest request)


Detailed Description

IVersionManager provides an interface for adding version numbers to WebServerResources. This allows you to turn on "infinite" expiration dates in mod_expires, and instead control reloading by changing the resource's URL. As an example, you might append a version number as a query string on the URL (whatever.gif?1).

Author:
mschrag

Member Function Documentation

String versionedUrlForResourceNamed ( String  resourceUrl,
String  name,
String  bundleName,
NSArray  languages,
WORequest  request 
)

Returns the variant of the given resource URL adjusted to include version information.

Parameters:
resourceUrl the original resource URL
name the name of the resource being loaded
bundleName the name of the bundle that contains the resource
languages the languages requested
request the request
Returns:
a versioned variant of the resourceUrl

Implemented in ERXResourceManager.DefaultVersionManager, and ERXResourceManager.PropertiesVersionManager.


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:02 2012 for Project Wonder by  doxygen 1.5.8