<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
protected $_tableId;
/**
- * entity type of the table id
+ * Entity type of the table id
*
* @var string
*/
protected $_entityType;
/**
- * entity sub type of the table id
+ * Entity sub type of the table id
*
* @var string
- * @access protected
*/
protected $_entitySubType;
/**
- * the group tree data
+ * The group tree data
*
* @var array
*/
protected $_groupCollapseDisplay;
/**
- * custom group id
+ * Custom group id
*
* @int
- * @access public
*/
public $_groupID;
public $_copyValueId;
/**
- * pre processing work done here.
+ * Pre processing work done here.
*
* gets session variables for table name, id of entity in table, type of entity and stores them.
*
*
* @return void
*
- * @access public
*
*/
- function preProcess() {
+ public function preProcess() {
$this->_cdType = CRM_Utils_Array::value('type', $_GET);
$this->assign('cdType', FALSE);
$this->_multiRecordDisplay = CRM_Utils_Request::retrieve('multiRecordDisplay', 'String', $this);
}
/**
- * Function to actually build the form
+ * Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
if ($this->_cdType || $this->_multiRecordDisplay == 'single') {
/**
* Set the default form values
*
- * @access protected
*
* @return array the default array reference
*/
- function setDefaultValues() {
+ public function setDefaultValues() {
if ($this->_cdType || $this->_multiRecordDisplay == 'single') {
if ($this->_copyValueId) {
// cached tree is fetched
/**
* Process the user submitted custom data values.
*
- * @access public
*
* @return void
*/
// reset the group contact cache for this group
CRM_Contact_BAO_GroupContactCache::remove();
}
-}
\ No newline at end of file
+}