| 1 | <?php |
||
| 24 | class Link extends Item |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * __construct |
||
| 28 | * |
||
| 29 | * @param array $attributes array of attribute name => value pairs |
||
| 30 | * |
||
| 31 | * Expected attributes: |
||
| 32 | * 'caption' - link caption (usually required) |
||
| 33 | * 'link' - link URL |
||
| 34 | * 'icon' - css classes for icon, i.e. "glyphicon glyphicon-ok" |
||
| 35 | * 'image' - image to represent link |
||
| 36 | */ |
||
| 37 | 1 | public function __construct($attributes = array()) |
|
| 42 | } |
||
| 43 |