Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions
ZurmoAssetManager Class Reference
Inheritance diagram for ZurmoAssetManager:

Static Public Member Functions

static getCssAndJavascriptHashQueryString ($filePath)
 

Protected Member Functions

 hash ($path)
 

Detailed Description

Improve CAssetManager:hash() function to use Zurmo version number, when creating hash values.

Definition at line 40 of file ZurmoAssetManager.php.

Member Function Documentation

static getCssAndJavascriptHashQueryString (   $filePath)
static

Append to end of .css or .js that is non minified or part of assets. This will ensure on version change that a fresh version of the file is loaded

Definition at line 46 of file ZurmoAssetManager.php.

hash (   $path)
protected

Generate a CRC32 hash for the directory path. Collisions are higher than MD5 but generates a much smaller hash string. Function uses module path, Yii version and Zurmo version to generate hash value for asset folder.

Parameters
string$pathstring to be hashed.
Returns
string hashed string.

Definition at line 59 of file ZurmoAssetManager.php.


The documentation for this class was generated from the following file:
Generated on Wed Jul 8 2020 07:11:10
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.