public function submitted(Form $form)
	{
		if (!isset($form['group_action']['submit']) || !$form['group_action']['submit']->isSubmittedBy()) {
			return;
		}

		$values = $form->getValues();
		$values = $values['group_action'];

		if ($values->group_action === 0 || $values->group_action === null) {
			return;
		}

		/**
		 * @todo Define items IDs
		 */
		$http_ids = $form->getHttpData(Form::DATA_LINE | Form::DATA_KEYS, strtolower($this->datagrid->getName()) . '_group_action_item[]');
		$ids = array_keys($http_ids);

		$id = $values->group_action;
		$this->group_actions[$id]->onSelect($ids, isset($values->{$id}) ? $values->{$id} : null);

		$form['group_action']['group_action']->setValue(null);
	}
public function submitted(Form $form)
	{
		if (!isset($form['group_action']['submit']) || !$form['group_action']['submit']->isSubmittedBy()) {
			return;
		}

		$values = $form->getValues();
		$values = $values['group_action'];

		if ($values->group_action === 0 || $values->group_action === null) {
			return;
		}

		/**
		 * @todo Define items IDs
		 */
		$http_ids = $form->getHttpData(Form::DATA_LINE | Form::DATA_KEYS, strtolower($this->datagrid->getName()) . '_group_action_item[]');
		$ids = array_keys($http_ids);

		$id = $values->group_action;
		$this->group_actions[$id]->onSelect($ids, isset($values->{$id}) ? $values->{$id} : null);

		$form['group_action']['group_action']->setValue(null);
	}
public function submitted ( Form $ form ) { if ( ! isset ( $ form [ 'group_action' ] [ 'submit' ] ) || ! $ form [ 'group_action' ] [ 'submit' ] -> isSubmittedBy ( ) ) { return ; } $ values = $ form -> getValues ( ) ; $ values = $ values [ 'group_action' ] ; if ( $ values -> group_action === 0 || $ values -> group_action === null ) { return ; } /**
		 * @todo Define items IDs
		 */ $ http_ids = $ form -> getHttpData ( Form :: DATA_LINE | Form :: DATA_KEYS , strtolower ( $ this -> datagrid -> getName ( ) ) . '_group_action_item[]' ) ; $ ids = array_keys ( $ http_ids ) ; $ id = $ values -> group_action ; $ this -> group_actions [ $ id ] -> onSelect ( $ ids , isset ( $ values -> { $ id } ) ? $ values -> { $ id } : null ) ; $ form [ 'group_action' ] [ 'group_action' ] -> setValue ( null ) ; }
Pass "sub"-form submission forward to custom submit function
@param  Form   $form
@return void
Pass sub - form submission forward to custom submit function