25 public static function create($documentTypeID)
27 if(!is_int($documentTypeID))
29 $documentTypeID = (int)$documentTypeID;
32 if(!DocumentType::IsDefined($documentTypeID))
67 throw new NotSupportedException(
"Document type: '".EntityType::ResolveName($documentTypeID).
"' is not supported in current context");