Class CSK_CSSKit

Description
CSK_CSSKit

This is the main wrapper class for the CSS Kit.

Located in /lib/classes/class.CSK_CSSKit.php (line 28)


	
			
Class Constant Summary
 tableName = "css"
Variable Summary
 ADOConnection $_db
 MDK_StorageCache $_storage
Method Summary
 static array getSQLTableStruct ()
 CSK_CSSKit CSK_CSSKit ([CSSKit $i_cskInstance = null])
 int getCacheAge ()
 string getCSS ([string $hash = ''])
 int getExpiryTime ([string $hash = ''])
 string getStyleSheetLinks ([string $name = ''], [string $media = ''])
 void touchCSS ([string $hash = ''])
Variables
CSSKit $_cskInstance (line 56)
$_cskInstance
  • access: protected
ADOConnection $_db (line 49)
$_db
  • access: protected
MDK_StorageCache $_storage (line 42)
$_storage
  • access: protected
Methods
static getSQLTableStruct (line 95)
getSQLTableStruct

Database table structure in ADOdb Dataformat

array getSQLTableStruct ()
Constructor CSK_CSSKit (line 65)
CSK_CSSKit (constructor)
CSK_CSSKit CSK_CSSKit ([CSSKit $i_cskInstance = null])
getCacheAge (line 263)
getCacheAge

returns the default storage cache age in seconds.

  • return: (seconds)
  • access: public
int getCacheAge ()
getCSS (line 219)
getCSS
  • access: public
string getCSS ([string $hash = ''])
  • string $hash
getExpiryTime (line 251)
getExpiryTime

returns the expiry time of a combined stylesheet identified by hash.

  • return: (seconds)
  • access: public
int getExpiryTime ([string $hash = ''])
  • string $hash
getStyleSheetLinks (line 127)
getStyleSheetLinks
  • access: public
string getStyleSheetLinks ([string $name = ''], [string $media = ''])
  • string $name
  • string $media
touchCSS (line 235)
touchCSS
  • access: public
void touchCSS ([string $hash = ''])
  • string $hash
Class Constants
tableName = "css" (line 35)
tableName

Documentation generated on Mon, 04 May 2009 12:09:09 +0200 by phpDocumentor 1.4.2