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;
	}
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;
	}
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 ; }
Return string of A tag with href to binded model

@param string $data Data for checking empty.
@param bool $returnTableRow [optional] Unused - backward compatibility.
@param array $fullData Full data of employee.
@param array $linkOpt Options for link.
@param string $idField Hash path to ID value.
@param string $controller Controller name of binded model.
@return string Return HTML tag A.
Return string of A tag with href to binded model