ClearCacheCommand Class Reference
[Behaviour]
Clear the Cache for an item or all. More...
Inheritance diagram for
ClearCacheCommand:
Public Member Functions |
|
__construct ($item) | |
execute () | |
Executes commands. |
|
Protected Attributes |
|
$item |
Detailed Description
Clear the Cache for an item or all.
Definition at line 8 of file clearcache.cmd.php.
Constructor & Destructor Documentation
ClearCacheCommand::__construct | ( | $ | item | ) |
Definition at line 11 of file clearcache.cmd.php.
00011 { 00012 $this->item = $item; 00013 }
Member Function Documentation
ClearCacheCommand::execute | ( | ) |
Executes commands.
- Returns:
- Status
Reimplemented from CommandBase.
Definition at line 15 of file clearcache.cmd.php.
00015 { 00016 Cache::clear($this->item); 00017 return new Status(); 00018 }
Member Data Documentation
ClearCacheCommand::$item
[protected] |
Definition at line 9 of file clearcache.cmd.php.
The documentation for this class was generated from the following file:
- gyro/core/behaviour/commands/generics/clearcache.cmd.php