4namespace Bitrix\Calendar\ICal\Builder;
7use Bitrix\Calendar\SerializeObject;
34 return new self($link, $name, $size);
43 public function __construct(
string $link,
string $name,
int $size)
76 $suffix =
array(
'b',
'Kb',
'Mb',
'Gb',
'Tb');
79 while($size >= 1024 && $pos < 4)
85 return round($size,
$precision) .
' ' . $suffix[$pos];
getFormatSize($precision=2)
static createInstance(string $link, string $name, int $size)
__construct(string $link, string $name, int $size)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)