gyro/core/behaviour/commands/generics/clearcache.cmd.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Clear the Cache for an item or all 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Behaviour 00007 */ 00008 class ClearCacheCommand extends CommandBase { 00009 protected $item; 00010 00011 public function __construct($item) { 00012 $this->item = $item; 00013 } 00014 00015 public function execute() { 00016 Cache::clear($this->item); 00017 return new Status(); 00018 } 00019 } 00020 ?>