domain_values_from_form_state($form_state)Return an array of values suitable for both create and update sql statements
The last element on this array is ignored by the create sql because it has one fewer placeholder argument as it doesnt require a WHERE clause.
$form_state From state from the submit_hook
array Array of domain values for insert and update sql operations
./domain.admin.inc, line 398
<?php
function domain_values_from_form_state($form_state) {
return array(
'subdomain' => $form_state['values']['subdomain'],
'sitename' => $form_state['values']['sitename'],
'scheme' => $form_state['values']['scheme'],
'valid' => $form_state['values']['valid'],
'domain_id' => $form_state['values']['domain_id'],
);
}
?>