Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]


Modules and Plugins [+] Modules and Plugins [-]


cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]


cPAddons (Site Software) [+] cPAddons (Site Software) [-]


System Administration [+] System Administration [-]


Developer Software [+] Developer Software [-]


Back to All Documentation



integrationblogcta.jpg

MagicRevision Module Documentation

Allows access to the Magic URL cPanel subsystem

The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.

MagicRevision::uri

API Version: 1 - Click here for documentation
Syntax: MagicRevision::uri( filename )
Description: Returns a URI fragment with the location of the cached version of a file to be included (typically img, css, js).
Parameters:  
  filename (string)
  Filename about which to query, such as 'images/homeb.gif'.
Returns:  
 
Output will resemble:
/cPanel_magic_revision_1266570986/images/homeb.gif

Topic revision: r2 - 27 Mar 2012 - 18:48:36 - Main.JenniferDoubrava