svn: /phpdoc/ja/trunk/ features/commandline.xml reference/ldap/functions/ldap-control-paged-result.xml

From: Date: Sun, 20 May 2012 12:24:29 +0000
Subject: svn: /phpdoc/ja/trunk/ features/commandline.xml reference/ldap/functions/ldap-control-paged-result.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-3403@lists.php.net to get a copy of this message
takagi Sun, 20 May 2012 12:24:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=325757 Log: sync with en. Changed paths: U phpdoc/ja/trunk/features/commandline.xml U phpdoc/ja/trunk/reference/ldap/functions/ldap-control-paged-result.xml Modified: phpdoc/ja/trunk/features/commandline.xml =================================================================== --- phpdoc/ja/trunk/features/commandline.xml 2012-05-20 09:41:51 UTC (rev 325756) +++ phpdoc/ja/trunk/features/commandline.xml 2012-05-20 12:24:29 UTC (rev 325757) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 325690 Maintainer: takagi Status: working --> +<!-- EN-Revision: 325690 Maintainer: takagi Status: ready --> <!-- CREDITS: hirokawa,shimooka --> <chapter xml:id="features.commandline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>PHP をコマンドラインから使用する</title> @@ -1664,10 +1664,10 @@ </para> <para> - Standard MIME types are returned for files with extensions: .css, - .gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .png, .svg, and .txt. - The .htm and .svg extensions are recognized from PHP 5.4.4 - onwards. + 以下にあげる拡張子のファイルについては、標準の MIME タイプを返します。 + .css, + .gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .png, .svg, そして .txt。 + このうち .htm と .svg については、PHP 5.4.4 以降で対応するようになりました。 </para> <example> @@ -1740,7 +1740,7 @@ <?php // router.php if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER["REQUEST_URI"])) { - return false; // serve the requested resource as-is. + return false; // リクエストされたリソースをそのままの形式で扱います。 } else { echo "<p>Welcome to PHP</p>"; } @@ -1754,18 +1754,19 @@ </example> <example> - <title>Checking for CLI Web Server Use</title> + <title>CLI ウェブサーバーを使っているかどうかのチェック</title> <para> - To reuse a framework router script during development with the CLI web server and later also with a production web server: + フレームワークのルータースクリプトを、開発中は CLI ウェブサーバーで使って + その後は本番環境のウェブサーバーでも使うという例です。 </para> <programlisting role="php"> <![CDATA[ <?php // router.php if (php_sapi_name() == 'cli-server') { - /* route static assets and return false */ + /* 静的コンテンツのルーティングをして false を返します */ } -/* go on with normal index.php operations */ +/* 通常の index.php の処理を続きます */ ?>]]> </programlisting> <programlisting role="shell"> @@ -1776,9 +1777,9 @@ </example> <example> - <title>Handling Unsupported File Types</title> + <title>未サポートのファイル形式の処理</title> <para> - If you need to serve a static resource whose MIME type is not handled by the CLI web server, use: + CLI ウェブサーバーで対応していない MIME タイプの静的リソースを扱うには、このようにします。 </para> <programlisting role="php"> <![CDATA[ @@ -1802,9 +1803,9 @@ </example> <example> - <title>Accessing the CLI Web Server From Remote Machines</title> + <title>CLI ウェブサーバーへのリモートマシンからのアクセス</title> <para> - You can make the web server accessible on port 8000 to any interface with: + ウェブサーバーを、任意のインターフェイスからポート 8000 でアクセスできるようにするには、このようにします。 </para> <programlisting role="shell"> <![CDATA[ Modified: phpdoc/ja/trunk/reference/ldap/functions/ldap-control-paged-result.xml =================================================================== --- phpdoc/ja/trunk/reference/ldap/functions/ldap-control-paged-result.xml 2012-05-20 09:41:51 UTC (rev 325756) +++ phpdoc/ja/trunk/reference/ldap/functions/ldap-control-paged-result.xml 2012-05-20 12:24:29 UTC (rev 325757) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 325020 Maintainer: takagi Status: ready --> +<!-- EN-Revision: 325751 Maintainer: takagi Status: ready --> <refentry xml:id='function.ldap-control-paged-result' xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -83,6 +83,7 @@ <![CDATA[ <?php // $ds is a valid link identifier (see ldap_connect) + ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $dn = 'ou=example,dc=org'; $filter = '(|(sn=Doe*)(givenname=John*))'; @@ -109,6 +110,7 @@ <![CDATA[ <?php // $ds is a valid link identifier (see ldap_connect) + ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $dn = 'ou=example,dc=org'; $filter = '(|(sn=Doe*)(givenname=John*))'; @@ -137,6 +139,15 @@ </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + ページネーション制御は、LDAPv3 プロトコルの機能です。 + </para> + </note> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para>

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