|
|
@ -16,18 +16,21 @@ class SchemaDocumentField extends Attribute |
|
|
|
public string $Comment; |
|
|
|
public array $ValidSchemas; |
|
|
|
public int $MaxSize; |
|
|
|
public string $MimeType; |
|
|
|
|
|
|
|
public function __construct( |
|
|
|
string $Name, |
|
|
|
SchemaFieldExistence $Existence = SchemaFieldExistence::MAY, |
|
|
|
string $Comment = "", |
|
|
|
array $ValidSchemas = [], |
|
|
|
int $MaxSize = 0 |
|
|
|
int $MaxSize = 0, |
|
|
|
string $MimeType = "", |
|
|
|
) |
|
|
|
{ |
|
|
|
$this->Existence = $Existence; |
|
|
|
$this->Comment = $Comment; |
|
|
|
$this->ValidSchemas = $ValidSchemas; |
|
|
|
$this->MimeType = $MimeType; |
|
|
|
parent::__construct(new Name("SchemaDocumentField"), [], []); |
|
|
|
} |
|
|
|
|
|
|
|