@@ 361-369 (lines=9) @@ | ||
358 | * @param string $value Indicates the INPUT form element type attribute. |
|
359 | * @return string |
|
360 | */ |
|
361 | public function getCellAction($currentActionFieldValue) |
|
362 | { |
|
363 | $cellAction = ''; |
|
364 | if ($this->cellAction) { |
|
365 | $cellAction = ' onClick="javascript:window.location=\'' . $this->cellAction . $this->actionField . '=' . urlencode($currentActionFieldValue) . '\'" '; |
|
366 | } |
|
367 | ||
368 | return $cellAction; |
|
369 | } |
|
370 | ||
371 | /** |
|
372 | * Generates the cell content, including any specified action fields values. |
|
@@ 378-386 (lines=9) @@ | ||
375 | * @param string $value The value of the cell. |
|
376 | * @return string |
|
377 | */ |
|
378 | public function createCellText($currentActionFieldValue, $value) |
|
379 | { |
|
380 | $cell = $value; |
|
381 | if ($this->linkAction) { |
|
382 | $cell = '<a href="' . $this->linkAction . $this->actionField . '=' . urlencode($currentActionFieldValue) . '">' . $cell . '</a>'; |
|
383 | } |
|
384 | ||
385 | return $cell; |
|
386 | } |
|
387 | ||
388 | /** |
|
389 | * Sets an option to generate a check all link when checkbox is indicated |