public function addColumnLink($key, $name, $href = null, $column = null, array $params = null)
	{
		$this->addColumnCheck($key);
		$column = $column ?: $key;
		$href = $href ?: $key;

		if ($params === null) {
			$params = [$this->primary_key];
		}

		return $this->addColumn($key, new Column\ColumnLink($this, $key, $column, $name, $href, $params));
	}
public function addColumnLink($key, $name, $href = null, $column = null, array $params = null)
	{
		$this->addColumnCheck($key);
		$column = $column ?: $key;
		$href = $href ?: $key;

		if ($params === null) {
			$params = [$this->primary_key];
		}

		return $this->addColumn($key, new Column\ColumnLink($this, $key, $column, $name, $href, $params));
	}
public function addColumnLink ( $ key , $ name , $ href = null , $ column = null , array $ params = null ) { $ this -> addColumnCheck ( $ key ) ; $ column = $ column ? : $ key ; $ href = $ href ? : $ key ; if ( $ params === null ) { $ params = [ $ this -> primary_key ] ; } return $ this -> addColumn ( $ key , new Column \ ColumnLink ( $ this , $ key , $ column , $ name , $ href , $ params ) ) ; }
Add column with link
@param  string      $key
@param  string      $name
@param  string|null $column
@return Column\ColumnLink
Add column with link