function savemeta($key, $value) { $this->__metadata[$key] = $value; $this->__metachanged[$key] =& $this->__metadata[$key]; register_shutdown_function_once(array(&$this, '_final_save_meta'), __FUNCTION__ . __LINE__); }
function _modified($table) { if (substr($table, -11) != 'op_sessions' && $this->system->cache && substr(strtolower(trim($table)), -8) != 'cachemgr') { $this->system->cache->setModified($table); } if ($table == 'SDB_GOODS' || $table == 'SDB_GTASK') { register_shutdown_function_once(array('trading/goods', 'update_gtask')); } }