protected function _getValueForBindModelBase($data = null, $returnTableRow = true, $fullData = null, $linkOpt = null, $idField = null, $controller = null) {
		$result = $this->ViewExtension->showEmpty($data);
		if (empty($idField) || empty($controller) ||
			empty($fullData) || !is_array($fullData)) {
			return $result;
		}

		$idField = (string)$idField;
		if (ctype_digit($idField)) {
			$id = $idField;
		} else {
			$id = Hash::get($fullData, $idField);
		}

		if (!empty($id)) {
			/*
			$methodLink = 'pjaxLink';
			if ($returnTableRow)
			*/
			$methodLink = 'popupModalLink';
			$result = $this->ViewExtension->$methodLink(
				$result,
				['controller' => $controller, 'action' => 'view', $id],
				$linkOpt
			);
		}

		return $result;
	}