Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
CacheFile Class Reference

Public Member Functions

 __construct ($type="", $name="", $timestamp=0, $size=0, $fileKey="")
 
 getName ()
 
 setName ($name)
 
 getTimestamp ()
 
 setTimestamp ($timestamp)
 
 getSize ()
 
 setSize ($size)
 
 getType ()
 
 setType ($type)
 
 getFile ()
 
 setFile ($file)
 

Static Public Member Functions

static initFromFiles ($folder, $type, $keyFunction=null)
 
static delete ($folder)
 

Private Attributes

 $type
 
 $name
 
 $timestamp
 
 $size
 
 $file
 

Detailed Description

Definition at line 7 of file CacheFile.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $type = "",
  $name = "",
  $timestamp = 0,
  $size = 0,
  $fileKey = "" 
)

Definition at line 14 of file CacheFile.php.

Member Function Documentation

◆ delete()

static delete (   $folder)
static

Definition at line 40 of file CacheFile.php.

◆ getFile()

getFile ( )

Definition at line 85 of file CacheFile.php.

◆ getName()

getName ( )

Definition at line 49 of file CacheFile.php.

◆ getSize()

getSize ( )

Definition at line 67 of file CacheFile.php.

◆ getTimestamp()

getTimestamp ( )

Definition at line 58 of file CacheFile.php.

◆ getType()

getType ( )

Definition at line 76 of file CacheFile.php.

◆ initFromFiles()

static initFromFiles (   $folder,
  $type,
  $keyFunction = null 
)
static

Definition at line 22 of file CacheFile.php.

◆ setFile()

setFile (   $file)

Definition at line 89 of file CacheFile.php.

◆ setName()

setName (   $name)

Definition at line 53 of file CacheFile.php.

◆ setSize()

setSize (   $size)

Definition at line 71 of file CacheFile.php.

◆ setTimestamp()

setTimestamp (   $timestamp)

Definition at line 62 of file CacheFile.php.

◆ setType()

setType (   $type)

Definition at line 80 of file CacheFile.php.

Field Documentation

◆ $file

$file
private

Definition at line 12 of file CacheFile.php.

◆ $name

$name
private

Definition at line 9 of file CacheFile.php.

◆ $size

$size
private

Definition at line 11 of file CacheFile.php.

◆ $timestamp

$timestamp
private

Definition at line 10 of file CacheFile.php.

◆ $type

$type
private

Definition at line 8 of file CacheFile.php.


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