Table::getLink()

Version 4.1

Returns a link to table

Creates a link and sets link to current table.

Return value

Object Link

Example

$Link = $this->get('table','order')->getLink();

Full documentation

Add a link to the table.

$link = "<a href='{$Order->getLink()}'>Open table</a>";

Returns a TableLink object, which is subclass of Link object, so you can add parameters to it.

Goto table

Open table pages -list.

$this->get('table','order')->getLink()->open();

TableLink methods

PageLink adds some new methods to methods in Link -class.

openNew()

Get a link to create a new page to same table.

$LinkToNewPage = $this->get('table','order')->openNew();