@@ -89,6 +89,9 @@ |
||
| 89 | 89 | App::$cur->log->forceView = $bool; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @param integer $size |
|
| 94 | + */ |
|
| 92 | 95 | public function convertSize($size) { |
| 93 | 96 | |
| 94 | 97 | if ($size < 1024) { |
@@ -69,6 +69,9 @@ |
||
| 69 | 69 | return $path; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $item |
|
| 74 | + */ |
|
| 72 | 75 | function unserialize($item) { |
| 73 | 76 | return $this->serializer()->unserialize($item); |
| 74 | 77 | } |