function buildQuickForm()
 {
     $this->setFormTitle();
     $this->add('hidden', 'rule_action_id');
     $this->add('select', 'twitter_account', ts('Twitter account'), $this->getTwitterAccounts(), true);
     $this->add('textarea', 'text_message', ts('Status'), array('size' => CRM_Utils_TYpe::HUGE, 'cols' => '80', 'rows' => '8'));
     $this->addButtons(array(array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), array('type' => 'cancel', 'name' => ts('Cancel'))));
     parent::buildQuickForm();
 }
 function buildQuickForm()
 {
     $this->setFormTitle();
     $this->add('hidden', 'rule_action_id');
     $this->add('select', 'http_method', ts('URI'), $this->getHttpMethods(), true);
     $this->add('text', 'uri', ts('URI'), true);
     $this->add('textarea', 'request_body', ts('Request Body'));
     $this->addButtons(array(array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), array('type' => 'cancel', 'name' => ts('Cancel'))));
     parent::buildQuickForm();
 }