| 1 | <?php |
||
| 13 | class Link extends AbstractCellDecorator |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Array of variable attribute for link |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $vars; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Link url |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $url; |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * Constructor |
||
| 31 | * |
||
| 32 | * @param array $options |
||
| 33 | * @throws Exception\InvalidArgumentException |
||
| 34 | */ |
||
| 35 | public function __construct(array $options = array()) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Rendering decorator |
||
| 50 | * @param string $context |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public function render($context) |
||
| 65 | } |
||
| 66 |