enableCache() public static method

enableCache 開啟 Pix_Table 的 cache 功能
public static enableCache ( mixed $group ) : void
$group mixed
return void
Ejemplo n.º 1
0
 /**
  * 設定 CACHE 狀態
  */
 public function testEnableCache()
 {
     Pix_Table::enableCache(Pix_Table::CACHE_ALL);
     $this->assertEquals(Pix_Table::getCacheStatus(Pix_Table::CACHE_ALL), true);
     Pix_Table::disableCache(Pix_Table::CACHE_ALL);
     $this->assertEquals(Pix_Table::getCacheStatus(Pix_Table::CACHE_ALL), null);
 }