123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- namespace OCP;
- class Template extends \OC_Template {
-
- public static function image_path($app, $image) {
- return \image_path($app, $image);
- }
-
- public static function mimetype_icon($mimetype) {
- return \mimetype_icon($mimetype);
- }
-
- public static function preview_icon($path) {
- return \preview_icon($path);
- }
-
- public static function publicPreview_icon($path, $token) {
- return \publicPreview_icon($path, $token);
- }
-
- public static function human_file_size($bytes) {
- return \human_file_size($bytes);
- }
-
- public static function relative_modified_date($timestamp, $dateOnly = false) {
- return \relative_modified_date($timestamp, null, $dateOnly);
- }
-
- public static function html_select_options($options, $selected, $params = []) {
- return \html_select_options($options, $selected, $params);
- }
- }
|