/**
* called when action is browse
*
- * @return null
+ * @return;
*/
public function browse() {
$count = CRM_Contact_BAO_GroupContact::getContactGroup(
public function edit($groupId = NULL) {
$this->assign('edit', $this->_edit);
if (!$this->_edit) {
- return;
+ return NULL;
}
$action = CRM_Utils_Request::retrieve('action', 'String',
);
if ($action == CRM_Core_Action::DELETE) {
- $groupContactId =
- CRM_Utils_Request::retrieve('gcid', 'Positive', CRM_Core_DAO::$_nullObject, TRUE);
- $status =
- CRM_Utils_Request::retrieve('st', 'String', CRM_Core_DAO::$_nullObject, TRUE);
+ $groupContactId = CRM_Utils_Request::retrieve('gcid', 'Positive', CRM_Core_DAO::$_nullObject, TRUE);
+ $status = CRM_Utils_Request::retrieve('st', 'String', CRM_Core_DAO::$_nullObject, TRUE);
if (is_numeric($groupContactId) && $status) {
CRM_Contact_Page_View_GroupContact::del($groupContactId, $status, $this->_contactId);
}
* 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;
*/
public function run() {
$this->edit();