<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
/**
- * the group id
+ * The group id
*
* @var int
*/
protected $_title;
/**
- * set up variables to build the form
+ * Set up variables to build the form
*
* @param null
*
* @return void
* @acess protected
*/
- function preProcess() {
+ public function preProcess() {
$this->_id = $this->get('id');
-
$defaults = array();
$params = array('id' => $this->_id);
CRM_Core_BAO_CustomField::retrieve($params, $defaults);
}
/**
- * Function to actually build the form
+ * Build the form object
*
* @param null
*
* @return void
- * @access public
*/
public function buildQuickForm() {
* @param null
*
* @return void
- * @access public
*/
public function postProcess() {
$field = new CRM_Core_DAO_CustomField();
}
}
-