Conditions | 3 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function render($context) |
||
54 | { |
||
55 | $values = array(); |
||
56 | if (count($this->vars)) { |
||
57 | $actualRow = $this->getCell()->getActualRow(); |
||
58 | foreach ($this->vars as $var) { |
||
59 | $values[] = $actualRow[$var]; |
||
60 | } |
||
61 | } |
||
62 | $url = vsprintf($this->url, $values); |
||
63 | return sprintf('<a href="%s">%s</a>', $url, $context); |
||
64 | } |
||
65 | } |
||
66 |