public function __construct(Oedipus_Frame $frame, $name)
 {
     parent::__construct('form', NULL);
     $method = 'POST';
     $this->set_attribute_str('name', $name);
     $this->set_attribute_str('method', $method);
     $this->set_attribute_str('class', 'frame-form');
     $this->input_lis = array();
     $this->frame = $frame;
     # action
     $this_action = $this->get_frame_editor_form_action_url();
     $this->set_action($this_action);
     //                # cancel
     //                $this_cancel = $this->get_frame_editor_form_cancel_url();
     //                $this->set_cancel_location($this_cancel);
     # Hidden Inputs
     $this->add_hidden_input('frame_id', $frame->get_id());
     /*
      *If we're on the edit_frame section of Drama Page,
      * pass this on to set the return to correctly
      */
     if (isset($_GET['edit_frame'])) {
         $this->add_hidden_input('return_to_get', 'edit_frame');
     }
     $this->set_submit_text('Save');
 }
 public function __construct($name, $method = 'POST')
 {
     parent::__construct('form', NULL);
     $this->set_attribute_str('name', $name);
     $this->set_attribute_str('method', $method);
     $this->set_attribute_str('class', 'basic-form');
     $this->set_attribute_str('id', 'basic-form');
     $this->input_lis = array();
 }
 public function __construct($name)
 {
     parent::__construct('form', NULL);
     $method = 'POST';
     $this->set_attribute_str('name', $name);
     $this->set_attribute_str('method', $method);
     $this->set_attribute_str('class', $name);
     $this->input_lis = array();
     //                # action
     //                $this_action = $this->get_table_editor_form_action_url();
     //                $this->set_action($this_action);
     //                # cancel
     //                $this_cancel = $this->get_table_editor_form_cancel_url();
     //                $this->set_cancel_location($this_cancel);
     # Hidden Inputs
     //                $this->add_hidden_input('table_id', $table->get_id());
     $this->set_submit_text('Save');
 }