source:
trunk/Packages/FormManager/Types/Image.php
Last change on this file was 8, checked in by , 19 months ago | |
---|---|
File size: 212 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | class TypeImage extends TypeString |
4 | { |
5 | function OnView(array $Item): ?string |
6 | { |
7 | global $System; |
8 | |
9 | return '<img src="'.$System->Link('/images/favicons/'.$Item['Value']).'"/> '.$Item['Value']; |
10 | } |
11 | } |
Note:
See TracBrowser
for help on using the repository browser.