discuz x2.5
<br /> public static function delete($table, $condition, $limit = 0, $unbuffered = true) {<br /> if (empty($condition)) {<br /> return false;<br /> } elseif (is_array($condition)) {<br /> if (count($condition) == 2 && isset($condition['where']) && isset($condition['arg'])) {<br /> $where = self::format($condition['where'], $condition['arg']);<br /> } else {<br /> $where = self::implode_field_value($condition, ' AND ');<br /> }<br /> } else {<br /> $where = $condition;<br /> }<br /> $limit = dintval($limit);<br /> $sql = "DELETE FROM " . self::table($table) . " WHERE $where " . ($limit ? "LIMIT $limit" : '');<br /> return self::query($sql, ($unbuffered ? 'UNBUFFERED' : ''));<br /> }<br /> 该方法中的$where = self::format($condition['where'], $condition['arg']);21.$condition['arg']是什么意思指什么?<br />の discuz_database クラスに関する問題