|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- $Revision$ --> |
3 | | -<!-- EN-Revision: b2bc114aa1737deb5e04d05b0df5cc286e8a63df Maintainer: tihox Status: ready --> |
| 3 | +<!-- EN-Revision: 82ddd2ec8ad195035dcb57dd8f97d27b83ddc126 Maintainer: tihox Status: ready --> |
4 | 4 | <!-- Reviewed: yes --> |
5 | 5 | <!-- Rev-Revision: 68ba58040e609589967077df116e715ffd865cdb Reviewer: samesch --> |
6 | 6 | <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.finfo-open"> |
|
12 | 12 |
|
13 | 13 | <refsect1 role="description"> |
14 | 14 | &reftitle.description; |
15 | | - <para>&style.procedural;</para> |
| 15 | + <simpara>&style.procedural;</simpara> |
16 | 16 | <methodsynopsis> |
17 | 17 | <type class="union"><type>finfo</type><type>false</type></type><methodname>finfo_open</methodname> |
18 | 18 | <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam> |
19 | 19 | <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam> |
20 | 20 | </methodsynopsis> |
21 | | - <para>&style.oop; (constructor):</para> |
| 21 | + <simpara>&style.oop; (constructor):</simpara> |
22 | 22 | <constructorsynopsis role="finfo"> |
23 | 23 | <modifier>public</modifier> <methodname>finfo::__construct</methodname> |
24 | 24 | <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>FILEINFO_NONE</constant></initializer></methodparam> |
25 | 25 | <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>magic_database</parameter><initializer>&null;</initializer></methodparam> |
26 | 26 | </constructorsynopsis> |
27 | | - <para> |
| 27 | + <simpara> |
28 | 28 | Diese Funktion öffnet eine magische Datenbank und gibt ihre Instanz |
29 | 29 | zurück. |
30 | | - </para> |
| 30 | + </simpara> |
31 | 31 | </refsect1> |
32 | 32 |
|
33 | 33 | <refsect1 role="parameters"> |
|
36 | 36 | <varlistentry> |
37 | 37 | <term><parameter>flags</parameter></term> |
38 | 38 | <listitem> |
39 | | - <para> |
| 39 | + <simpara> |
40 | 40 | Eine <link linkend="fileinfo.constants">Fileinfo-Konstante</link> |
41 | 41 | oder mehrere, die durch binäres ODER kombiniert werden. |
42 | | - </para> |
| 42 | + </simpara> |
43 | 43 | </listitem> |
44 | 44 | </varlistentry> |
45 | 45 | <varlistentry> |
46 | 46 | <term><parameter>magic_database</parameter></term> |
47 | 47 | <listitem> |
48 | | - <para> |
| 48 | + <simpara> |
49 | 49 | Name einer magischen Datenbankdatei, gewöhnlich ungefähr so: |
50 | 50 | <filename>/path/to/magic.mime</filename>. Falls nicht spezifiziert, |
51 | 51 | wird die <literal>MAGIC</literal>-Umgebungsvariable verwendet. Falls |
52 | 52 | die Umgebungsvariable nicht gesetzt ist, wird die PHP-eigene magische |
53 | 53 | Datenbank benutzt. |
54 | | - </para> |
55 | | - <para> |
| 54 | + </simpara> |
| 55 | + <simpara> |
56 | 56 | Übergibt &null; oder eine leere Zeichenfolge gleichbedeutend mit dem |
57 | 57 | Standardwert. |
58 | | - </para> |
| 58 | + </simpara> |
59 | 59 | </listitem> |
60 | 60 | </varlistentry> |
61 | 61 | </variablelist> |
62 | 62 | </refsect1> |
63 | 63 |
|
64 | 64 | <refsect1 role="returnvalues"> |
65 | 65 | &reftitle.returnvalues; |
66 | | - <para> |
| 66 | + <simpara> |
67 | 67 | (Nur prozeduraler Stil) Gibt bei Erfolg eine |
68 | 68 | <classname>finfo</classname>-Instanz zurück. &return.falseforfailure; |
69 | | - </para> |
| 69 | + </simpara> |
70 | 70 | </refsect1> |
71 | 71 |
|
72 | 72 | <refsect1 role="changelog"> |
@@ -149,13 +149,13 @@ text/plain; charset=us-ascii |
149 | 149 | <refsect1 role="notes"> |
150 | 150 | &reftitle.notes; |
151 | 151 | <note> |
152 | | - <para> |
| 152 | + <simpara> |
153 | 153 | Das Benutzen der eingebundenen magischen Datenbank (indem |
154 | 154 | <parameter>magic_database</parameter> und die |
155 | 155 | <literal>MAGIC</literal>-Umgebungsvariable nicht gesetzt werden) wird |
156 | 156 | generell empfohlen, sofern keine benutzerdefinierte magische Datenbank |
157 | 157 | benötigt wird. |
158 | | - </para> |
| 158 | + </simpara> |
159 | 159 | </note> |
160 | 160 | </refsect1> |
161 | 161 |
|
|
0 commit comments