/** * * This allows the cached values for a table's field list to be erased. * If $tablename is empty, then the whole cache is erased. * * @param string $tableName * * @return boolean */ function clearCachedFieldlist($tableName = false) { if ($tableName != false) { unset(self::$cached_fieldlists[$tableName]); } else { self::$cached_fieldlists = array(); } return true; }