enableCache 開啟 Pix_Table 的 cache 功能
public static enableCache ( mixed $group ) : void | ||
$group | mixed | |
Résultat | void |
/** * 設定 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); }