public function getGroupAction($groupActions = null) {
		if (!$this->_controller->request->is('post')) {
			return false;
		}

		$action = $this->_controller->request->data('FilterGroup.action');
		if (empty($action) || (!empty($groupActions) && !is_array($groupActions))) {
			return false;
		}

		if (empty($groupActions)) {
			return $action;
		} elseif (in_array($action, $groupActions)) {
			return $action;
		} else {
			return false;
		}
	}
public function getGroupAction($groupActions = null) {
		if (!$this->_controller->request->is('post')) {
			return false;
		}

		$action = $this->_controller->request->data('FilterGroup.action');
		if (empty($action) || (!empty($groupActions) && !is_array($groupActions))) {
			return false;
		}

		if (empty($groupActions)) {
			return $action;
		} elseif (in_array($action, $groupActions)) {
			return $action;
		} else {
			return false;
		}
	}
public function getGroupAction ( $ groupActions = null ) { if ( ! $ this -> _controller -> request -> is ( 'post' ) ) { return false ; } $ action = $ this -> _controller -> request -> data ( 'FilterGroup.action' ) ; if ( empty ( $ action ) || ( ! empty ( $ groupActions ) && ! is_array ( $ groupActions ) ) ) { return false ; } if ( empty ( $ groupActions ) ) { return $ action ; } elseif ( in_array ( $ action , $ groupActions ) ) { return $ action ; } else { return false ; } }
Return group action from filter data

@param array $groupActions List of allowed group actions
@return string|bool Return string name of group action,
or False otherwise.
Return group action from filter data