setOption($option); if(!$this->checkdriver() && !isset($option['skipError'])) { throw new Exception("Can't use this driver for your website!"); } } function driver_set($keyword, $value = "", $time = 300, $option = array() ) { if(isset($option['skipExisting']) && $option['skipExisting'] == true) { // skip driver } else { // add driver } } function driver_get($keyword, $option = array()) { // return null if no caching // return value if in caching return null; } function driver_delete($keyword, $option = array()) { } function driver_stats($option = array()) { $res = array( "info" => "", "size" => "", "data" => "", ); return $res; } function driver_clean($option = array()) { } function driver_isExisting($keyword) { } }