static function update($values, $object) { $object->name = $values['name']; $object->description = $values['description']; $object->text = htmleditorcontrol::parseData('text', $values); $object->column_names = $values['column_names']; return $object; }
function update($values, $object) { if (!defined('SYS_FORMS')) { require_once BASE . 'subsystems/forms.php'; } exponent_forms_initialize(); $object->name = $values['name']; $object->description = $values['description']; $object->text = htmleditorcontrol::parseData('text', $values); $object->column_names = $values['column_names']; return $object; }
function update($values, $object) { if (!defined('SYS_FORMS')) { include_once BASE . 'subsystems/forms.php'; } exponent_forms_initialize(); $object->subject = $values['subject']; $object->from_name = $values['from_name']; $object->from_address = $values['from']; $object->replyto_address = $values['replyto']; $object->final_message = htmleditorcontrol::parseData('final_message', $values); return $object; }