svn: /phpdoc/ru/trunk/reference/simplexml/ examples.xml

From: Date: Thu, 26 Jan 2012 20:04:08 +0000
Subject: svn: /phpdoc/ru/trunk/reference/simplexml/ examples.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-3577@lists.php.net to get a copy of this message
shein Thu, 26 Jan 2012 20:04:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322830 Log: Updated translation. Changed paths: U phpdoc/ru/trunk/reference/simplexml/examples.xml Modified: phpdoc/ru/trunk/reference/simplexml/examples.xml =================================================================== --- phpdoc/ru/trunk/reference/simplexml/examples.xml 2012-01-26 19:31:24 UTC (rev 322829) +++ phpdoc/ru/trunk/reference/simplexml/examples.xml 2012-01-26 20:04:08 UTC (rev 322830) @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 315548 Maintainer: mch Status: ready --> +<!-- EN-Revision: 322827 Maintainer: mch Status: ready --> +<!-- Reviewed: no --> <!-- $Revision$ --> -<!-- Reviewed: no --> <chapter xml:id="simplexml.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -140,7 +140,7 @@ </para> <note> <para> - Свойства (<literal>$xml->movie</literal> в предыдущем примере) не + Свойства (<literal>$movies->movie</literal> в предыдущем примере) не являются массивами. Это <link linkend="class.iterator">итеративный</link> объект <link linkend="class.arrayaccess">в виде массива</link>. </para> @@ -344,7 +344,7 @@ $character->addChild('name', 'Mr. Parser'); $character->addChild('actor', 'John Doe'); -$rating = $xml->movie[0]->addChild('rating', 'PG'); +$rating = $movies->movie[0]->addChild('rating', 'PG'); $rating->addAttribute('type', 'mpaa'); echo $movies->asXML();

« previous php.doc.ru (#3577) next »