UNB Components Code Reference

UnbUi::ContentTypeIcon method

Prints an image tag for a file content type icon.

public static function UnbUi::ContentTypeIcon ($contentType, $ret = false);

Parameters

contentType

(string) File content type

ret  –  optional, default: false

(bool) Specifies whether the HTML code shall be returned instead of printed

Member of class: UnbUi

Implementation file: ui.class.php, line 2538

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.