Copyright (C) 2010 All Rights Reserved. Contributor(s): Mark J Crane */ include "root.php"; //define the call_forward class class call_forward { public $domain_uuid; public $extension_uuid; public $forward_all_destination; public $forward_all_enabled; public function update() { global $db; $sql = "update v_extensions set "; $sql .= "forward_all_destination = '$this->forward_all_destination', "; $sql .= "forward_all_enabled = '$this->forward_all_enabled' "; $sql .= "where domain_uuid = '$this->domain_uuid' "; $sql .= "and extension_uuid = '$this->extension_uuid' "; $db->exec(check_sql($sql)); unset($sql); } //end function } ?>