<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
/**
* Function to set variables up before form is built
*
+ * @param $form
+ *
* @return void
* @access public
*/
* Function to build form for honoree contact / on behalf of organization.
*
* @param $form object invoking Object
- * @param $contactType string contact type
- * @param $title string fieldset title
+ *
+ * @internal param string $contactType contact type
+ * @internal param string $title fieldset title
*
* @static
*/
}
}
+ /**
+ * @param $form
+ */
static function postProcess($form) {
$params = $form->_params;
- if ($form->get('honor_block_is_active') && !empty($params['soft_credit_type_id'])) {
+ if (!empty($form->_honor_block_is_active) && !empty($params['soft_credit_type_id'])) {
$honorId = null;
//check if there is any duplicate contact