/** * Change cache mode of the model. * @param string $cacheMode Data cache mode: file, apc, memcache, xcache, eaccelerator */ public static function _toggleCacheMode($cacheMode) { self::$cacheMode = $cacheMode; }