Home  |  Linux  | Mysql  | PHP  | XML
From:TAKAGI Masahiro Date:Wed Aug 13 11:51:50 2008
Subject:cvs: phpdoc-ja /reference/inclued book.xml configure.xml constants.xml examples.xml ini.xml reference.xml setup.xml /reference/inclued/functions
inclued-get-data.xml
takagi		Wed Aug 13 17:51:50 2008 UTC

  Added files:                 
    /phpdoc-ja/reference/inclued/functions	inclued-get-data.xml 
    /phpdoc-ja/reference/inclued	setup.xml reference.xml ini.xml 
                                	examples.xml constants.xml 
                                	configure.xml book.xml 
  Log:
  added Japanese translation.
  
  

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/functions/inclued-get-data.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/functions/inclued-get-data.xml
+++ phpdoc-ja/reference/inclued/functions/inclued-get-data.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<refentry xml:id="function.inclued-get-data" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <refnamediv>
  <refname>inclued_get_data</refname>
  <refpurpose>inclued データを取得する</refpurpose>
 </refnamediv>

 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>array</type><methodname>inclued_get_data</methodname>
   <void/>
  </methodsynopsis>
  <para>
   inclued データを取得します。
  </para>
 </refsect1>

 <refsect1 role="parameters">
  &reftitle.parameters;
  &no.function.parameters;
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   inclued データを返します。
  </para>
 </refsect1>

 <refsect1 role="examples">
  &reftitle.examples;
  <para>
   <example>
    <title><function>inclued_get_data</function> の例</title>
    <para>
     このデータを用いてグラフを作成する方法については
     <link linkend="inclued.examples-implementation">inclued の例</link>
     のセクションを参照ください。
    </para>
    <programlisting role="php">
<![CDATA[
<?php 
include 'x.php';

$clue = inclued_get_data();

print_r($clue);
?>
]]>
    </programlisting>
    &example.outputs.similar;
    <screen>
<![CDATA[
Array
(
  [includes] => Array
    (
      [0] => Array
        (
          [operation] => include
          [op_type] => 2
          [filename] => x.php
          [opened_path] => /tmp/x.php
          [fromfile] => /tmp/z.php
          [fromline] => 2
        )
    )
)
]]>
    </screen>
   </example>
  </para>
 </refsect1>

 <refsect1 role="seealso">
  &reftitle.seealso;
  <para>
   <simplelist>
    <member><link linkend="inclued.examples-implementation">inclued の例</link></member>
    <member><function>debug_backtrace</function></member>
    <member><function>include</function></member>
   </simplelist>
  </para>
 </refsect1>

</refentry>

<!-- 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:"../../../../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
-->

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/setup.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/setup.xml
+++ phpdoc-ja/reference/inclued/setup.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<chapter xml:id="inclued.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.setup;

 <section xml:id="inclued.requirements">
  &reftitle.required;
  <para>
   PHP バージョン 5.1.0 以降が必要です。
  </para>
  <para>
   同梱されているファイル <filename>gengraph.php</filename> は
   <link xlink:href="&url.graphviz;">graphviz</link> ライブラリを使用しますが、
   これは必須ではありません。
  </para>
 </section>

 &reference.inclued.configure;
 &reference.inclued.ini;

 <section xml:id="inclued.resources">
  &reftitle.resources;
  &no.resource;
 </section>

</chapter>

<!-- 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:"../../../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
-->


http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/reference.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/reference.xml
+++ phpdoc-ja/reference/inclued/reference.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<reference xml:id="ref.inclued" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>inclued &Functions;</title>
 
 &reference.inclued.entities.functions;
 
</reference>
 
<!-- 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:"../../../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
-->

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/ini.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/ini.xml
+++ phpdoc-ja/reference/inclued/ini.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<section xml:id="inclued.configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.runtime;
 &extension.runtime;

 <para>
  <table>
   <title>inclued &ConfigureOptions;</title>
   <tgroup cols="4">
    <thead>
     <row>
      <entry>&Name;</entry>
      <entry>&Default;</entry>
      <entry>&Changeable;</entry>
      <entry>変更履歴</entry>
     </row>
    </thead>
    <tbody>
     <row>
      <entry>inclued.enabled</entry>
      <entry>Off</entry>
      <entry>PHP_INI_*</entry>
      <entry></entry>
     </row>
     <row>
      <entry>inclued.dumpdir</entry>
      <entry>Off</entry>
      <entry>PHP_INI_*</entry>
      <entry></entry>
     </row>
    </tbody>
   </tgroup>
  </table>

  &ini.php.constants;

 </para>
 
 &ini.descriptions.title;
 
 <para>
  <variablelist>

   <varlistentry xml:id="ini.inclued.enabled">
    <term>
     <parameter>inclued.enabled</parameter>
     <type>int</type>
    </term>
    <listitem>
     <para>
      inclued を有効にするか否か。
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.inclued.dumpdir">
    <term>
     <parameter>inclued.dumpdir</parameter>
     <type>int</type>
    </term>
    <listitem>
     <para>
      inclued ファイルを保存するディレクトリの場所 (パス)。
      これを設定すると、PHP リクエスト単位でファイルを作成します。
     </para>
     <caution>
      <para>
       リクエストのたびにファイルを作成するので、
       このディレクトリはあっという間にいっぱいになってしまいます!
      </para>
     </caution>
    </listitem>
   </varlistentry>

  </variablelist>
 </para>
</section>

<!-- 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:"../../../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
-->


http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/examples.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/examples.xml
+++ phpdoc-ja/reference/inclued/examples.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<chapter xml:id="inclued.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.examples;

 <section xml:id='inclued.examples-implementation'>
  <title>inclued をアプリケーションに組み込む例</title>
  <para>
   この例では、inclued を既存のアプリケーションに組み込んで結果を見る方法を説明します。
  </para>
  <para>
   <example>
    <title>inclued からのデータの取得</title>
    <programlisting role="php">
<![CDATA[
<?php
// inclued の情報を保存するファイル
$fp = fopen('/tmp/wp.json', 'w');
if ($fp) {
    $clue = inclued_get_data();
    if ($clue) {
        fwrite($fp, json_encode($clue);
    }
    fclose($fp);
}
?>
]]>
    </programlisting>
   </example>
  </para>
  <para>
   データが取得できたら、それを何らかの形式で図にしてみたいと思われることでしょう。
   inclued 拡張モジュールには
   <filename>gengraph.php</filename> という PHP ファイルが組み込まれています。
   このファイルは、<link xlink:href="&url.graphviz;">graphviz</link>
   ライブラリで使える dot ファイルを作成します。
   しかし、これは必須ではありません。
  </para>
  <para>
   <example>
    <title>gengraph.php の使用例</title>
    <para>
     この例は、inclued のデータを示す画像
     inclued.png を作成します。
    </para>
    <programlisting role="shell">
<![CDATA[
# まず dot ファイルを作成します
$ php graphviz.php -i /tmp/wp.json -o wp.dot

# そして画像を作成します
$ dot -Tpng -o inclued.png wp.dot
]]>
    </programlisting>
   </example>
  </para>
 </section>
</chapter>

<!-- 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:"../../../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
-->


http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/constants.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/constants.xml
+++ phpdoc-ja/reference/inclued/constants.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<appendix xml:id="inclued.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.constants;
 &extension.constants;

 &no.constants;
 
</appendix>

<!-- 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:"../../../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
-->


http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/configure.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/configure.xml
+++ phpdoc-ja/reference/inclued/configure.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->

<section xml:id="inclued.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.install;

 <para>
  &pecl.info;
  <link xlink:href="&url.pecl.package;inclued">&url.pecl.package;inclued</link>
 </para>
 <para>
  最新の PECL/inclued Win32 DLL は
  <link xlink:href="&url.pecl.win.ext;php_inclued.dll">php_inclued.dll</link>
  にあります。
 </para>
 
</section>

<!-- 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:"../../../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
-->


http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/inclued/book.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/inclued/book.xml
+++ phpdoc-ja/reference/inclued/book.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<!-- Purpose: basic.php -->
<!-- Membership: pecl -->

<book xml:id="book.inclued" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>インクルード階層ビューア</title>
 <titleabbrev>inclued</titleabbrev>
 
 <preface xml:id="intro.inclued">
  &reftitle.intro;
  <para>
   ファイルのインクルードやクラスの継承の階層を、実行時にトレースして出力します。
  </para>
  <para>
   ファイルのインクルードは
   <function>include</function>、<function>include_once</function>、
   <function>require</function> あるいは <function>require_once</function>
   を用いて行います。
  </para>
  <para>
   クラス継承の依存関係も報告されます。
  </para>
 </preface>
 
 &reference.inclued.setup;
 &reference.inclued.constants;
 &reference.inclued.examples;
 &reference.inclued.reference;

</book>

<!-- 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:"../../../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
-->


Navigate in group php.doc.ja at sever news.php.net
Previous Next




  
No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants