BinaryInformation (Objekt): Unterschied zwischen den Versionen

Aus SiteparkWiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: ==Name== BinaryInformation - Binärdaten ==Beschreibung== Ein BinaryInformation-Objekt reprästentiert Binären-Content. Dies sind im Regelfall Dateien wie PDF, DOC, ....)
 
Zeile 10: Zeile 10:
 
! Attribut || Type || Beschreibung || ab IES Version
 
! Attribut || Type || Beschreibung || ab IES Version
 
|-
 
|-
| xxx
+
| id
| [[Number]]
+
| [[ID]]
| xxx
+
| ID des Objektes
 +
| 1
 +
|-
 +
| field
 +
| [[Variable]]
 +
| Variablenname des Objektes
 +
| 1
 +
|-
 +
| root
 +
| [[Element]]
 +
| Root-Element dieser Information
 +
| 1
 +
|-
 +
| locale
 +
| [[Locale]]
 +
| Sprache, für die die Information gilt
 +
| 1
 +
|-
 +
| isEmpty
 +
| [[Boolean]]
 +
| <code>true</code>, wenn die Größe der Binäredaten 0 ist
 
| 1
 
| 1
 
|-
 
|-
| xxx
+
| binary
| [[Condition]]
+
| [[ID]]
| xxx
+
| ID, unter der die Bilddaten selbst erreichbar sind
 
| 1
 
| 1
 
|-
 
|-
| xxx
+
| filename
| [[Collection]]
+
| [[String]]
| xxx
+
| Dateiname des Bildes
 
| 1
 
| 1
 
|-
 
|-
| xxx
+
| filesize
| [[Element]]
+
| [[Number]]
| xxx
+
| Dateigröße in Bytes
 
| 1
 
| 1
|}
 
 
==Methoden==
 
{| class="prettytable"
 
|- class="hintergrundfarbe1"
 
! Methode || Rückgabewert || Beschreibung || ab IES Version
 
 
|-
 
|-
| <code>xxx</code>
+
| format
 
| [[String]]
 
| [[String]]
| xxx.
+
| Binärformat (pdf, doc, ...)
 
| 1
 
| 1
 
|-
 
|-
| <code>xxx</code>
+
| mime
 
| [[String]]
 
| [[String]]
| xxx.
+
| MIME-Typ (<code>application/pdf</code>, <code>application/msword</code>, ...)
 +
| 1
 +
|-
 +
| isImage
 +
| [[Boolean]]
 +
| Liefert immer <code>false</code>
 
| 1
 
| 1
 
|}
 
|}
  
;<code>xxx</code>
 
:xxx.
 
:;Parameter
 
::;<code>xxx</code>
 
:::xxx.
 
::;<code>xxx</code>
 
:::xxx.
 
:;Rückgabewert
 
::;[[String]]
 
:::xxx.
 
 
;<code>xxx</code>
 
:xxx.
 
:;Parameter
 
::;<code>xxx</code>
 
:::xxx.
 
::;<code>xxx</code>
 
:::xxx.
 
:;Rückgabewert
 
::;[[String]]
 
:::xxx.
 
  
<!--
 
bitte die passenden Kategorien auswählen und Kommentar entfernen
 
--------------------------------------------------------------
 
 
<noinclude>
 
<noinclude>
 
[[Category:Objekte]]
 
[[Category:Objekte]]
Zeile 78: Zeile 73:
 
[[Category:Qualität_des_Codes_prüfen]]
 
[[Category:Qualität_des_Codes_prüfen]]
 
</noinclude>
 
</noinclude>
-->
 

Version vom 10. Juni 2008, 20:24 Uhr

Name

BinaryInformation - Binärdaten

Beschreibung

Ein BinaryInformation-Objekt reprästentiert Binären-Content. Dies sind im Regelfall Dateien wie PDF, DOC, .... Handelt es sich um Textdateien, werden diese auch als Binärdaten behandelt.

Attribute

Attribut Type Beschreibung ab IES Version
id ID ID des Objektes 1
field Variable Variablenname des Objektes 1
root Element Root-Element dieser Information 1
locale Locale Sprache, für die die Information gilt 1
isEmpty Boolean true, wenn die Größe der Binäredaten 0 ist 1
binary ID ID, unter der die Bilddaten selbst erreichbar sind 1
filename String Dateiname des Bildes 1
filesize Number Dateigröße in Bytes 1
format String Binärformat (pdf, doc, ...) 1
mime String MIME-Typ (application/pdf, application/msword, ...) 1
isImage Boolean Liefert immer false 1