public function createFilterRowCheckbox($inputField = null, $value = null) {
		$result = '';
		if (is_array($inputField)) {
			$inputField = array_keys($inputField);
			$inputField = (string)array_shift($inputField);
		}
		if (empty($inputField) || (strpos($inputField, '.') === false)) {
			return $result;
		}

		$uniqid = uniqid();
		$dataPath = 'FilterData.0.' . $inputField;
		$inputFieldName = $dataPath . '.';
		$data = (array)$this->request->data($dataPath);
		$options = [
			'value' => $value,
			'checked ' => in_array($value, $data),
			'hiddenField' => false,
			'required' => false,
			'secure' => false,
		];
		$this->setEntity($inputFieldName . $uniqid);
		$options = $this->domId($options);
		$options = $this->_initInputField($inputFieldName, $options);
		$result = $this->ExtBs3Form->checkbox($inputFieldName, $options) .
			$this->ExtBs3Form->label($inputFieldName . $uniqid, '');
		$result = $this->Html->div('checkbox', $result);

		return $result;
	}
public function createFilterRowCheckbox($inputField = null, $value = null) {
		$result = '';
		if (is_array($inputField)) {
			$inputField = array_keys($inputField);
			$inputField = (string)array_shift($inputField);
		}
		if (empty($inputField) || (strpos($inputField, '.') === false)) {
			return $result;
		}

		$uniqid = uniqid();
		$dataPath = 'FilterData.0.' . $inputField;
		$inputFieldName = $dataPath . '.';
		$data = (array)$this->request->data($dataPath);
		$options = [
			'value' => $value,
			'checked ' => in_array($value, $data),
			'hiddenField' => false,
			'required' => false,
			'secure' => false,
		];
		$this->setEntity($inputFieldName . $uniqid);
		$options = $this->domId($options);
		$options = $this->_initInputField($inputFieldName, $options);
		$result = $this->ExtBs3Form->checkbox($inputFieldName, $options) .
			$this->ExtBs3Form->label($inputFieldName . $uniqid, '');
		$result = $this->Html->div('checkbox', $result);

		return $result;
	}
public function createFilterRowCheckbox ( $ inputField = null , $ value = null ) { $ result = '' ; if ( is_array ( $ inputField ) ) { $ inputField = array_keys ( $ inputField ) ; $ inputField = ( string ) array_shift ( $ inputField ) ; } if ( empty ( $ inputField ) || ( strpos ( $ inputField , '.' ) === false ) ) { return $ result ; } $ uniqid = uniqid ( ) ; $ dataPath = 'FilterData.0.' . $ inputField ; $ inputFieldName = $ dataPath . '.' ; $ data = ( array ) $ this -> request -> data ( $ dataPath ) ; $ options = [ 'value' => $ value , 'checked ' => in_array ( $ value , $ data ) , 'hiddenField' => false , 'required' => false , 'secure' => false , ] ; $ this -> setEntity ( $ inputFieldName . $ uniqid ) ; $ options = $ this -> domId ( $ options ) ; $ options = $ this -> _initInputField ( $ inputFieldName , $ options ) ; $ result = $ this -> ExtBs3Form -> checkbox ( $ inputFieldName , $ options ) . $ this -> ExtBs3Form -> label ( $ inputFieldName . $ uniqid , '' ) ; $ result = $ this -> Html -> div ( 'checkbox' , $ result ) ; return $ result ; }
Returns control checkbox for select row of table.

@param strind $inputField Field of filter in format `model.field`;
@param int $value Value of checkbox.

@return string Form input checkbox for select row of table
Returns control checkbox for select row of table .