cvs: phpdoc-hu /reference/simplexml/functions simplexml-load-string.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170066246@cvsserver>
chappy		Mon Jan 29 10:24:06 2007 UTC

  Modified files:              
    /phpdoc-hu/reference/simplexml/functions	simplexml-load-string.xml 
  Log:
  sync
  
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml
diff -u phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml:1.3 phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml:1.4
--- phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml:1.3	Sun Oct 22 11:12:47 2006
+++ phpdoc-hu/reference/simplexml/functions/simplexml-load-string.xml	Mon Jan 29 10:24:06 2007
@@ -1,43 +1,93 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.11 Maintainer: chappy Status: ready --> 
-  <refentry id='function.simplexml-load-string'>
-   <refnamediv>
-    <refname>simplexml_load_string</refname>
-    <refpurpose>
-     XML karakterláncot értelmez, és betölt objektumba
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Leírás</title>
-    <methodsynopsis>
-     <type>object</type><methodname>simplexml_load_string</methodname>
-     <methodparam><type>string</type><parameter>data</parameter></methodparam>
-     <methodparam choice="opt"><type>string</type><parameter>class_name</parameter></methodparam>
-     <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
-     <methodparam choice="opt"><type>string</type><parameter>ns</parameter></methodparam>
-     <methodparam choice="opt"><type>bool</type><parameter>is_prefix</parameter></methodparam>
-    </methodsynopsis>
-    <para>
-     Ez a függvény a <parameter>data</parameter> paraméterben kéri be a 
-	 helyes XML karakterláncot, és objektum típusú (<type>object</type>) 
-     <type>SimpleXMLElement</type> osztállyal tér vissza, ami tartalmazza az 
-	 XML karakterláncban található tageket és tulajdonságokat. Ha hiba lép 
-	 fel, a visszatérési érték &false;.
-    </para>
-    <para>
-     Használhatód az opcinális <parameter>class_name</parameter> paramétert, 
-	 így a <function>simplexml_load_string</function> függvény a megadott 
-	 típusú osztállyal tér vissza. Ennek az osztálynak a <type>SimpleXMLElement</type>
-	 osztálynak kellene az utódja lennie.
-    </para>
-    <para>
-     PHP 5.1.0 és Libxml 2.6.0 óta te használhatod az <parameter>options</parameter> 
-	 patamétert, hogy megadd a <link linkend="libxml.constants">kiegészítõ Libxml paramétereket</link>.
-    </para>
-    <para>
-     <example>
-      <title>XML karakterlánc értelmezése</title>
-      <programlisting role="php">
+<!-- EN-Revision: 1.14 Maintainer: chappy Status: ready --> 
+<refentry id='function.simplexml-load-string'>
+ <refnamediv>
+  <refname>simplexml_load_string</refname>
+  <refpurpose>
+   XML karakterláncot értelmez, és betölt objektumba
+  </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>object</type><methodname>simplexml_load_string</methodname>
+   <methodparam><type>string</type><parameter>data</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>class_name</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>ns</parameter></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>is_prefix</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Egy helyesen formázott XML karakterláncot objektumként ad vissza.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>data</parameter></term>
+     <listitem>
+      <para>
+      Helyesen formázott XML karakterlánc
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>class_name</parameter></term>
+     <listitem>
+      <para>
+	   Ezt a paramétert használva a 
+       <function>simplexml_load_string</function> egy megadott osztályú
+       objektumot ad vissza. Ennek az osztálynak a 
+       <type>SimpleXMLElement</type> osztálynak kell az utóda lennie.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>options</parameter></term>
+     <listitem>
+      <para>
+       A PHP 5.1.0 és Libxml 2.6.0 óta használható a 
+       <parameter>options</parameter> paraméter <link
+       linkend="libxml.constants">egyéb Libxml paraméterek</link> megadásához.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>ns</parameter></term>
+     <listitem>
+      <para>
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>is_prefix</parameter></term>
+     <listitem>
+      <para>
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Egy <type>SimpleXMLElement</type> osztályú <type>object</type> típussal tér vissza, 
+   aminek az adattagjai tartalmazzák az xml dokumentumban tárolt adatokat. 
+   Hiba esetén &false;-szal tér vissza.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>XML karakterlánc értelmezése</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $string = <<<XML
@@ -57,11 +107,9 @@
 var_dump($xml);
 ?>
 ]]>
-      </programlisting>
-      <para>
-       A fenti program kimenete:
-      </para>
-      <screen>
+    </programlisting>
+    &example.outputs;
+    <screen>
 <![CDATA[
 SimpleXMLElement Object
 (
@@ -72,18 +120,25 @@
    I know that's the answer -- but what's the question?
 )
 ]]>
-      </screen>
-      <simpara>
-       Csak a body kinyeréséhez elég a <literal>$xml->body</literal> kifejezést 
-	   használnod.
-      </simpara>
-     </example>
-    </para>
-    <para>
-     Lásd még: <function>simplexml_load_file</function>.
-    </para>
-   </refsect1>
-  </refentry>
+    </screen>
+    <simpara>
+     A <literal>body</literal> kinyeréséhez elég csak <literal>$xml->body</literal>-t 
+	 használni.
+    </simpara>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><xref linkend="function.simplexml-load-file" /></member>
+    <member><xref linkend="function.simplexml-element-construct" /></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.