<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
* @param
*
* @return void
- * @access public
*/
- function preProcess() {
+ public function preProcess() {
self::preProcessCommon($this);
}
* @param CRM_Core_Form $form
* @param bool $useTable
*/
- static function preProcessCommon(&$form, $useTable = FALSE) {
+ public static function preProcessCommon(&$form, $useTable = FALSE) {
$form->_contactIds = array();
$form->_contactTypes = array();
* Set default values for the form. Relationship that in edit/view action
* the default values are retrieved from the database
*
- * @access public
*
* @return array
*/
- function setDefaultValues() {
+ public function setDefaultValues() {
$defaults = array();
return $defaults;
}
* This function is used to add the rules for form.
*
* @return void
- * @access public
*/
- function addRules() {
+ public function addRules() {
}
/**
* Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
$this->addDefaultButtons(ts('Confirm Action'));
/**
* Process the form after the input has been submitted and validated
*
- * @access public
*
* @return void
*/
* @param bool $submitOnce
*
* @return void
- * @access public
*/
- function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
+ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
$this->addButtons(array(
array(
'type' => $nextType,
* Replace ids of household members in $this->_contactIds with the id of their household.
* CRM-8338
*
- * @access public
*
* @return void
*/
}
}
}
-