| 1 | <?php |
||
| 17 | class Helper { |
||
| 18 | const APP_ID = 'richdocuments'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $fileId |
||
| 22 | * @return array |
||
| 23 | * @throws \Exception |
||
| 24 | */ |
||
| 25 | public static function parseFileId($fileId) { |
||
| 46 | |||
| 47 | /** |
||
| 48 | * WOPI helper function to convert to ISO 8601 round-trip format. |
||
| 49 | * @param integer $time Must be seconds since unix epoch |
||
| 50 | */ |
||
| 51 | public static function toISO8601($time) |
||
| 60 | |||
| 61 | public static function getNewFileName($view, $path, $prepend = ' '){ |
||
| 71 | } |
||
| 72 |