svn: /phpdoc/ja/trunk/language/predefined/ compileerror.xml weakreference.xml

From: Date: Wed, 18 Dec 2019 19:46:26 +0000
Subject: svn: /phpdoc/ja/trunk/language/predefined/ compileerror.xml weakreference.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5176@lists.php.net to get a copy of this message
mumumu Wed, 18 Dec 2019 19:46:26 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=348582 Log: sync with en Changed paths: A phpdoc/ja/trunk/language/predefined/compileerror.xml A phpdoc/ja/trunk/language/predefined/weakreference.xml Added: phpdoc/ja/trunk/language/predefined/compileerror.xml =================================================================== --- phpdoc/ja/trunk/language/predefined/compileerror.xml (rev 0) +++ phpdoc/ja/trunk/language/predefined/compileerror.xml 2019-12-18 19:46:26 UTC (rev 348582) @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 345757 $ --> +<!-- EN-Revision: 345757 Maintainer: mumumu Status: ready --> + +<phpdoc:exceptionref xml:id="class.compileerror" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:phpdoc="http://php.net/ns/phpdoc"> + <title>CompileError</title> + <titleabbrev>CompileError</titleabbrev> + + <partintro> + +<!-- {{{ CompileError intro --> + <section xml:id="compileerror.intro"> + &reftitle.intro; + <para> + <ooclass><classname>CompileError</classname></ooclass> は + コンパイルエラーが起きた時にスローされます。 + 以前は fatal error が発生していました。 + </para> + </section> +<!-- }}} --> + + <section xml:id="compileerror.synopsis"> + &reftitle.classsynopsis; + +<!-- {{{ Synopsis --> + <classsynopsis> + <ooclass><classname>CompileError</classname></ooclass> + +<!-- {{{ Class synopsis --> + <classsynopsisinfo> + <ooclass> + <classname>CompileError</classname> + </ooclass> + + <ooclass> + <modifier>extends</modifier> + <classname>Error</classname> + </ooclass> + </classsynopsisinfo> +<!-- }}} --> + + <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> + <xi:fallback /> + </xi:include> + + <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + </classsynopsis> + +<!-- }}} --> + + </section> + </partintro> +</phpdoc:exceptionref> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/ja/trunk/language/predefined/weakreference.xml =================================================================== --- phpdoc/ja/trunk/language/predefined/weakreference.xml (rev 0) +++ phpdoc/ja/trunk/language/predefined/weakreference.xml 2019-12-18 19:46:26 UTC (rev 348582) @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 347473 $ --> +<!-- EN-Revision: 347473 Maintainer: mumumu Status: ready --> + +<phpdoc:classref xml:id="class.weakreference" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> + + <title>WeakReference クラス</title> + <titleabbrev>WeakReference</titleabbrev> + + <partintro> + +<!-- {{{ WeakReference intro --> + <section xml:id="weakreference.intro"> + &reftitle.intro; + <para> + 弱い参照により、オブジェクトが破棄されるのを防がないオブジェクトへの参照を保持することが可能です。 + この機能は、キャッシュのようなデータ構造を実装するのに役立ちます。 + </para> + <note> + <para> + <classname>WeakReference</classname> クラスは、 + <link linkend="class.weakref">Weakref</link> 拡張機能の + <classname>WeakRef</classname> クラスと混乱させる意図はありません。 + </para> + </note> + <para> + <classname>WeakReference</classname> クラスはシリアライズ化できません。 + </para> + </section> +<!-- }}} --> + + <section xml:id="weakreference.synopsis"> + &reftitle.classsynopsis; + +<!-- {{{ Synopsis --> + <classsynopsis> + <ooclass><classname>WeakReference</classname></ooclass> + +<!-- {{{ Class synopsis --> + <classsynopsisinfo> + <ooclass> + <classname>WeakReference</classname> + </ooclass> + </classsynopsisinfo> +<!-- }}} --> + + <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.weakreference')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.weakreference')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> + </classsynopsis> +<!-- }}} --> + + </section> + + <section xml:id="weakreference.examples"> + <title>WeakReference の例</title> + <para> + <example xml:id="weakreference.basic-example"> + <title>基本的な WeakReference クラスの使い方</title> + <programlisting role="php"> +<![CDATA[ +<?php +$obj = new stdClass; +$weakref = WeakReference::create($obj); +var_dump($weakref->get()); +unset($obj); +var_dump($weakref->get()); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +object(stdClass)#1 (0) { +} +NULL +]]> + </screen> + </example> + </para> + </section> + + </partintro> + + &language.predefined.weakreference.construct; + &language.predefined.weakreference.create; + &language.predefined.weakreference.get; + +</phpdoc:classref> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

« previous php.doc.ja (#5176) next »