* @access public
*/
public function buildQuickForm() {
+ parent::buildQuickForm();
+ $this->setPageTitle(ts('Financial Type Account'));
+
if ($this->_action & CRM_Core_Action::DELETE) {
- $this->addButtons(array(
- array(
- 'type' => 'next',
- 'name' => ts('Delete Financial Account Type'),
- 'spacing' => ' ',
- 'isDefault' => TRUE
- ),
- array(
- 'type' => 'cancel',
- 'name' => ts('Cancel'))
- )
- );
return;
}
- parent::buildQuickForm();
-
if (isset($this->_id)) {
$params = array('id' => $this->_id);
CRM_Financial_BAO_FinancialTypeAccount::retrieve($params, $defaults);
/**
* global validation rules for the form
*
- * @param array $fields posted values of the form
+ * @param $values
+ * @param $files
+ * @param $self
+ *
+ * @internal param array $fields posted values of the form
*
* @return array list of errors to be posted back to the form
* @static
"reset=1&action=browse&aid={$this->_aid}"));
}
}
+
}