Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

23 lines
503B

  1. <?php
  2. namespace App\Kintone;
  3. class File
  4. {
  5. public string $contentType;
  6. public string $fileKey;
  7. public string $name;
  8. public int $size;
  9. public function __construct($param = null)
  10. {
  11. if ($param !== null) {
  12. $this->contentType = data_get($param, "contentType", "");
  13. $this->fileKey = data_get($param, "fileKey", "");
  14. $this->name = data_get($param, "name", "");
  15. $this->size = (int)data_get($param, "size", 0);
  16. }
  17. }
  18. }