* @param string $type
* @param null|int $entityID
* @param null $onlySubType
- *
- * @return void
*/
public static function preProcess(
&$form, $subName = NULL, $subType = NULL,
/**
* @param CRM_Core_Form $form
- * @return void
*/
public static function buildQuickForm(&$form) {
$form->addElement('hidden', 'hidden_custom', 1);
$this->assign('cdType', FALSE);
if ($this->_cdType) {
$this->assign('cdType', TRUE);
- return CRM_Custom_Form_CustomData::preProcess($this);
+ CRM_Custom_Form_CustomData::preProcess($this);
}
parent::preProcess();
* Set default values for the form.
* the default values are retrieved from the database
*
- *
- * @return void
+ * @return array
+ * Default values.
*/
public function setDefaultValues() {
if ($this->_cdType) {
/**
* Build the form object.
- *
- * @return void
*/
public function buildQuickForm() {
if ($this->_cdType) {
- return CRM_Custom_Form_CustomData::buildQuickForm($this);
+ CRM_Custom_Form_CustomData::buildQuickForm($this);
}
parent::buildQuickForm();
*/
public function postProcess() {
- $ids = array();
$config = CRM_Core_Config::singleton();
// get the submitted form values.