- 1
- 2
return $this->db_handler->table_rows_to_array($this->history_table_prefix . $account_table_name, '', array_merge($field_list ? array_map(create_function('$field', 'return "' . ($prepend_table_name ? make_singular($account_table_name) . '_' : '') . '" . $field;'), $field_list) : array_map(create_function('$field', 'return "' . ($prepend_table_name ? make_singular($account_table_name) . '_' : '') . '" . $field;'), ($this->db_handler->field_exists($manage_object->table_name, 'created') ? array_merge(array_keys($manage_object->all_field_list), array('created')) : array_keys($manage_object->all_field_list))), array('hist_state_start_time', 'hist_state_start_user_id')),
false, array(make_singular($account_table_name) . '_' . 'id' => $account_id), 'AND', 'id DESC');
Комментарии (10) RSS
Добавить комментарий