public $_contactId;
/**
- * This function is called when action is browse
+ * called when action is browse
*
- * return null
+ * @return null
*/
public function browse() {
$in = CRM_Contact_BAO_GroupContact::getContactGroup($this->_contactId, 'Added');
}
$allGroup = CRM_Contact_BAO_GroupContactCache::contactGroup($this->_contactId);
- $this->assign('groupSmart' , NULL);
+ $this->assign('groupSmart', NULL);
$this->assign('groupParent', NULL);
if (!empty($allGroup)) {
- $smart = $parent = array( );
+ $smart = $parent = array();
foreach ($allGroup['group'] as $group) {
// delete all smart groups which are also in static groups
if (isset($staticGroups[$group['id']])) {
}
/**
- * This function is the main function that is called
+ * the main function that is called
* when the page loads, it decides the which action has
* to be taken for the page.
*
- * return null
+ * @return null
*/
public function run() {
$this->preProcess();