cvs: peardoc /ja/package/event event-dispatcher.xml /ja/package/event/event-dispatcher event-notification.xml example.xml intro.xml
/ja/package/event/event-dispatcher/event-dispatcher addnesteddispatcher.xml addobserver.xml getinstance.xml getname.xml post.xml
removenesteddispatcher.xml removeobserver.xml setnotificationclass.xml /ja/package/event/event-dispatcher/event-notification cancelnotification.xml
event-notification.xml getnotificationcount.xml getnotificationinfo.xml getnotificationname.xml getnotificationobject.xml isnotificationcancelled.xml

From: Date: Thu, 16 Jun 2005 09:35:24 +0000
Subject: cvs: peardoc /ja/package/event event-dispatcher.xml /ja/package/event/event-dispatcher event-notification.xml example.xml intro.xml
/ja/package/event/event-dispatcher/event-dispatcher addnesteddispatcher.xml addobserver.xml getinstance.xml getname.xml post.xml
removenesteddispatcher.xml removeobserver.xml setnotificationclass.xml /ja/package/event/event-dispatcher/event-notification cancelnotification.xml
event-notification.xml getnotificationcount.xml getnotificationinfo.xml getnotificationname.xml getnotificationobject.xml isnotificationcancelled.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6359@lists.php.net to get a copy of this message
haruki Thu Jun 16 05:35:24 2005 EDT Added files: /peardoc/ja/package/event event-dispatcher.xml /peardoc/ja/package/event/event-dispatcher event-notification.xml example.xml intro.xml /peardoc/ja/package/event/event-dispatcher/event-dispatcher addnesteddispatcher.xml addobserver.xml getinstance.xml getname.xml post.xml removenesteddispatcher.xml removeobserver.xml setnotificationclass.xml /peardoc/ja/package/event/event-dispatcher/event-notification cancelnotification.xml event-notification.xml getnotificationcount.xml getnotificationinfo.xml getnotificationname.xml getnotificationobject.xml isnotificationcancelled.xml Log: sync with en by SHIMOOKA

http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher.xml +++ peardoc/ja/package/event/event-dispatcher.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <sect1 id="package.event.event-dispatcher"> <title>Event_Dispatcher</title> <para> PHP コールバックを利用して通知をディスパッチします。 </para> &package.event.event-dispatcher.intro; &package.event.event-dispatcher.example; &package.event.event-dispatcher.event-dispatcher.getinstance; &package.event.event-dispatcher.event-dispatcher.getname; &package.event.event-dispatcher.event-dispatcher.addobserver; &package.event.event-dispatcher.event-dispatcher.removeobserver; &package.event.event-dispatcher.event-dispatcher.setnotificationclass; &package.event.event-dispatcher.event-dispatcher.post; &package.event.event-dispatcher.event-dispatcher.addnesteddispatcher; &package.event.event-dispatcher.event-dispatcher.removenesteddispatcher; &package.event.event-dispatcher.event-notification; &package.event.event-dispatcher.event-notification.event-notification; &package.event.event-dispatcher.event-notification.getnotificationname; &package.event.event-dispatcher.event-notification.getnotificationobject; &package.event.event-dispatcher.event-notification.getnotificationinfo; &package.event.event-dispatcher.event-notification.getnotificationcount; &package.event.event-dispatcher.event-notification.cancelnotification; &package.event.event-dispatcher.event-notification.isnotificationcancelled; </sect1> <!-- 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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification"> <refnamediv> <refname><classname>Event_Notification</classname></refname> <refpurpose>通知のためのコンテナクラス</refpurpose> </refnamediv> <refsect1 id="package.event.event-dispatcher.event-notification.desc"> &title.desc; <para> <classname>Event_Notification</classname> クラスはイベント情報のためのコンテナとして動作します。 これは、 内包された情報にアクセスするためのセッタメソッドとゲッタメソッドを提供します。 </para> <para> もしイベントに関する追加情報をストアしたり機能の追加が必要な場合、 <classname>Event_Dispatcher</classname> が使用しているクラスを変更することもできますが、 <classname>Event_Notification</classname> を継承することが推奨されます。 </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-executeMultiple-attributes:t sgml-indent-step:1 sgml-indent-data:t 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/co.php/peardoc/ja/package/event/event-dispatcher/example.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/example.xml +++ peardoc/ja/package/event/event-dispatcher/example.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.example"> <refnamediv> <refname>例</refname> <refpurpose>Event_Dispatcher の使用例</refpurpose> </refnamediv> <refsect1 id="package.event.event-dispatcher.example.example1"> <title>Event_Dispatcher の使用例</title> <simpara> 以下の例は、より柔軟性に富むアプリケーションを構築するために Event_Dispatcher をどの様に使用するかを例示しています。 </simpara> <example> <title>基本的な例</title> <programlisting role="php"> <![CDATA[require_once 'Event/Dispatcher.php'; /** * 認証をシミュレートするためのダミークラス */ class Auth { var $_dispatcher = null; var $_user; function Auth(&$dispatcher) { $this->_dispatcher = &$dispatcher; } function login($username, $password) { // 認証を行うコードをここに記述する // .... // $this->_user は User オブジェクトを含んでいるとする $this->_dispatcher->post($this->_user, 'onLogin'); } } function logAuth(&$notification) { $user = &$notification->getNotificationObject(); $username = $user->getUsername(); // ログファイルに書き込む error_log("$username logged in.", 3, '/tmp/auth.log'); } $dispatcher = &Event_Dispatcher::getInstance(); // ログファイルに書き込むために全ての onLogin イベントをキャッチする $dispatcher->addObserver('logAuth', 'onLogin'); $auth = &new Auth($dispatcher); // ログインをシミュレート $auth->login($_GET['user'], $_GET['pass']); ]]> </programlisting> <para> この例では、<classname>Event_Dispatcher</classname> は認証プロセスで オブザーバをフックするために使用されています。 ユーザーが認証された場合は常に <emphasis>onLogin</emphasis> が通知されます。 </para> <para> これはログファイルを書き込んだり、 他のユーザーからアプリケーションを保護するために使用する事が可能です。 </para> </example> <example> <title>通知のキャンセル</title> <programlisting role="php"> <![CDATA[require_once 'Event/Dispatcher.php'; /** * 認証をシミュレートするためのダミークラス */ class Auth { var $_dispatcher = null; var $_user; function Auth(&$dispatcher) { $this->_dispatcher = &$dispatcher; } function login($username, $password) { // 認証を行うコードをここに記述する // .... // $this->_user は User オブジェクトを含んでいるとする $notification = $this->_dispatcher->post($this->_user, 'onLogin'); if ($notification->isNotificationCancelled()) { echo "You are not allowed to login"; $this->_user->logout(); } } } function logAuth(&$notification) { $user = &$notification->getNotificationObject(); $username = $user->getUsername(); // もし特別なユーザーが認証された場合、 // 通知をキャンセルする if ($username === 'foo') { $notification->cancelNotification(); } else { // ログファイルに書き込む error_log("$username logged in.", 3, '/tmp/auth.log'); } } $dispatcher = &Event_Dispatcher::getInstance(); // ログファイルに書き込むために全ての onLogin イベントをキャッチする $dispatcher->addObserver('logAuth', 'onLogin'); $auth = &new Auth($dispatcher); // ログインをシミュレート $auth->login($_GET['user'], $_GET['pass']); ]]> </programlisting> <para> この場合、<function>cancelNotification</function> メソッドは特定のユーザーが認証を行おうとした場合に 通知をキャンセルするために使用されています。 </para> <para> login メソッドは通知がキャンセルされたかどうかをチェックし、 必要な手順を行うよううまく修正されています。 </para> <para> これにより、 独自の認証システムで柔軟性に富んだルールを追加することができます。 </para> </example> </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/intro.xml +++ peardoc/ja/package/event/event-dispatcher/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.intro"> <refnamediv> <refname>導入</refname> <refpurpose>Event_Dispatcher の導入</refpurpose> </refnamediv> <refsect1 id="package.event.event-dispatcher.intro.refsect1"> <title>Event_Dispatcher の導入</title> <para> Event_Dispatcher は通知発信テーブルとして動作します。 これはある事象に関連している他のオブジェクトに通知するために使用されます。 この情報は Event_Notification オブジェクトにカプセル化されます。 </para> <para> クライアントオブジェクトは、 他のオブジェクトによって送信された特定の通知に対するオブザーバとして Event_Dispatcher をそれら自身に登録します。 あるイベントが発生すると、オブジェクトは適切な通知を Event_Dispatcher に送信します。Event_Dispatcher は登録されている各オブザーバにメッセージを送信し、 単一の引数として通知を渡します。 </para> <para> Event_Dispatchers は JavaScript のイベント管理に似た連続して発生するイベントに対して 使用することができます。 もしイベントがディスパッチャによって処理されない場合、 次のディスパッチャに引き渡されます。 </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/addnesteddispatcher.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/addnesteddispatcher.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/addnesteddispatcher.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.addnesteddispatcher"> <refnamediv> <refname><function>Event_Dispatcher::addNestedDispatcher</function></refname> <refpurpose>ネストしたディスパッチャを追加する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Event_Dispatcher::addNestedDispatcher</function></funcdef> <paramdef>object Event_Dispatcher <parameter>&amp;$dispatcher</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addnesteddispatcher.desc"> &title.desc; <para> ネストしたディスパッチャをディスパッチャに追加します。 </para> <para> ネストしたディスパッチャにより、JavaScript で実装されるような連続するイベントを生成することができます。 あるイベントがディスパッチャの全オブザーバにポストされた後、 全てのネストしたディスパッチャに送信されます。 </para> <para> もし独自のフレームワークでコンポーネントのイベントを送信する ディスパッチャや、フレームワーク自身によって引き起こされる グローバルなイベントを送信するディスパッチャがある場合、 コンポーネントディスパッチャによってポストされたイベントは グローバルなディスパッチャにも送信されますので、 これらのディスパッチャをネストさせることは道理にかなっています。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addnesteddispatcher.param"> &title.param; <para> <itemizedlist> <listitem> <para> object Event_Dispatcher <parameter>&amp;$dispatcher</parameter> </para> <para> ネストしたディスパッチャとして現在のディスパッチャに追加する ディスパッチャを指定します </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addnesteddispatcher.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addnesteddispatcher.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/addobserver.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/addobserver.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/addobserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.addobserver"> <refnamediv> <refname><function>Event_Dispatcher::addObserver</function></refname> <refpurpose>新規オブザーバを追加する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Event_Dispatcher::addObserver</function></funcdef> <paramdef>mixed <parameter>$callback</parameter></paramdef> <paramdef>string <parameter><optional>$nName = EVENT_DISPATCHER_GLOBAL</optional></parameter></paramdef> <paramdef>string <parameter><optional>$class = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addobserver.desc"> &title.desc; <para> ディスパッチャに新規オブザーバを追加します。 </para> <para> オブザーバは PHP コールバックです。これは関数名を文字列、もしくは オブジェクトやクラスとコールするメソッドを含む配列のいずれかで渡す 事を意味します。 </para> <para> コールバックはオブザーバのための署名として使用されます。 これにより <function>removeObserver</function> に同一のパラメータを渡すことでオブザーバを削除することができます。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addobserver.param"> &title.param; <para> <itemizedlist> <listitem> <para> mixed <parameter>$callback</parameter> </para> <para> 通知のためのコールバックで、グローバル関数名を含むを文字列、もしくは クラスやオブジェクトとコールするメソッド名を含む配列のいずれかを 指定します。 </para> </listitem> <listitem> <para> string <parameter><optional>$nName = EVENT_DISPATCHER_GLOBAL</optional></parameter> </para> <para> フィルターとして動作し、 通知名がこのパラメータで渡された名前と一致する場合のみ オブザーバに通知します。 オブザーバが通知名に関わらず通知させる場合は <constant>EVENT_DISPATCHER_GLOBAL</constant> を使用してください。 </para> </listitem> <listitem> <para> string <parameter><optional>$class = ''</optional></parameter> </para> <para> フィルターとして動作し、 通知を送信したのがこのパラメータで渡されたクラスにマッチする場合のみ オブザーバに通知します。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addobserver.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.addobserver.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/getinstance.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/getinstance.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/getinstance.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.getinstance"> <refnamediv> <refname><function>Event_Dispatcher::getInstance</function></refname> <refpurpose>新規 Event_Dispatcher オブジェクトを生成する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object Event_Dispatcher <function>Event_Dispatcher::getInstance</function></funcdef> <paramdef>string <parameter><optional>$name = '__default'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getinstance.desc"> &title.desc; <para> 新規 Event_Dispatcher オブジェクトを生成します。 </para> <para> Event_Dispatcher はシングルトンパターンを使用しているので、 Event_Dispatcher の新規インスタンスを生成するために new 演算子を使用してはいけません。代わりに <function>getInstance</function> を使用してください。 </para> <para> 複数の Event_Dispatcher インスタンスが必要な場合、 このメソッドに異なる名前を渡してください。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getinstance.param"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter><optional>$name = '__default'</optional></parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getinstance.return"> &title.returns; <para> <emphasis>object Event_Dispatcher</emphasis> Event_Dispatcher インスタンス </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getinstance.note"> &title.note; &note.shouldstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/getname.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/getname.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/getname.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.getname"> <refnamediv> <refname><function>Event_Dispatcher::getName</function></refname> <refpurpose>ディスパッチャの名前を取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Event_Dispatcher::getName</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getname.desc"> &title.desc; <para> ディスパッチャの名前を取得します。 </para> <para> ディスパッチャの名前は、一意な識別子として使用されます。 この事は、<function>getInstance</function> や <function>removeNestedDispatcher</function> メソッドに対して重要です。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getname.return"> &title.returns; <para> <emphasis>string</emphasis> ディスパッチャの名前 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.getname.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/post.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/post.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/post.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.post"> <refnamediv> <refname><function>Event_Dispatcher::post</function></refname> <refpurpose>通知をポストする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object Event_Notification <function>Event_Dispatcher::post</function></funcdef> <paramdef>object <parameter>&amp;$object</parameter></paramdef> <paramdef>string <parameter>$nName</parameter></paramdef> <paramdef>mixed <parameter><optional>$info = array()</optional></parameter></paramdef> <paramdef>bool <parameter><optional>$pending = &true;</optional></parameter></paramdef> <paramdef>bool <parameter><optional>$bubble = &true;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.post.desc"> &title.desc; <para> 新規通知を全てにオブザーバにポストします。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.post.param"> &title.param; <para> <itemizedlist> <listitem> <para> object <parameter>&amp;$object</parameter> </para> <para> 通知をポストするオブジェクトへの参照を指定します (送信者)。 おそらく、コールバック内で通知にフィルタをかけるために使用されます。 </para> </listitem> <listitem> <para> string <parameter>$nName</parameter> </para> <para> 通知名を指定します </para> </listitem> <listitem> <para> mixed <parameter><optional>$info = array()</optional></parameter> </para> <para> 通知についての追加情報を指定します </para> </listitem> <listitem> <para> bool <parameter><optional>$pending = &true;</optional></parameter> </para> <para> 通知はデフォルトでは保留されている通知リストに追加されます。 これにより、ポストされたときまでにオブザーバが登録されていない場合、 オブザーバとして追加されたときに通知されます。 </para> <para> この動作は、 登録されたオブザーバのみが通知されるよう無効にすることができます。 </para> </listitem> <listitem> <para> bool <parameter><optional>$bubble = &true;</optional></parameter> </para> <para> デフォルトで通知は <function>addNestedDispatcher</function> を使用して追加されたあらゆるネストしたディスパッチャに対して 広範囲に追加されます。 </para> <para> この動作は、ポスト中のディスパッチャに追加されたオブザーバのみが 通知されるよう無効にすることができます。 これにより、グローバルな通知とローカルな通知を区別することができます。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.post.return"> &title.returns; <para> <emphasis>object Event_Notification</emphasis> 通知オブジェクト </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.post.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/removenesteddispatcher.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/removenesteddispatcher.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/removenesteddispatcher.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.removenesteddispatcher"> <refnamediv> <refname><function>Event_Dispatcher::removeNestedDispatcher</function></refname> <refpurpose>ネストしたディスパッチャを削除する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Event_Dispatcher::removeNestedDispatcher</function></funcdef> <paramdef>object Event_Dispatcher <parameter>&amp;$dispatcher</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removenesteddispatcher.desc"> &title.desc; <para> ディスパッチャからネストしたディスパッチャを削除します。 </para> <para> ネストしたディスパッチャのリストからディスパッチャを削除するには、 <function>removeNestedDispatcher</function> に同一のオブジェクトを渡します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removenesteddispatcher.param"> &title.param; <para> <itemizedlist> <listitem> <para> object Event_Dispatcher <parameter>&amp;$dispatcher</parameter> </para> <para> ネストしたディスパッチャのリストから削除するディスパッチャを指定します。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removenesteddispatcher.return"> &title.returns; <para> <emphasis>boolean</emphasis> ディスパッチャが削除された場合 &true;、 さもなければ &false; 。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removenesteddispatcher.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/removeobserver.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/removeobserver.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/removeobserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.removeobserver"> <refnamediv> <refname><function>Event_Dispatcher::removeObserver</function></refname> <refpurpose>オブザーバを削除する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>bool <function>Event_Dispatcher::removeObserver</function></funcdef> <paramdef>mixed <parameter>$callback</parameter></paramdef> <paramdef>string <parameter><optional>$nName = EVENT_DISPATCHER_GLOBAL</optional></parameter></paramdef> <paramdef>string <parameter><optional>$class = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removeobserver.desc"> &title.desc; <para> ディスパッチャからオブザーバを削除します。 </para> <para> オブザーバを削除するには、<function>addObserver</function> をコールした際に使用した同一のパラメータを指定します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removeobserver.param"> &title.param; <para> <itemizedlist> <listitem> <para> mixed <parameter>$callback</parameter> </para> <para> 通知のためのコールバックで、グローバル関数名を含むを文字列、もしくは クラスやオブジェクトとコールするメソッド名を含む配列のいずれかを 指定します。 </para> </listitem> <listitem> <para> string <parameter><optional>$nName = EVENT_DISPATCHER_GLOBAL</optional></parameter> </para> <para> フィルターとして動作し、 通知名がこのパラメータで渡された名前と一致する場合のみ オブザーバに通知します。 オブザーバが通知名に関わらず通知させる場合は <constant>EVENT_DISPATCHER_GLOBAL</constant> を使用してください。 </para> </listitem> <listitem> <para> string <parameter><optional>$class = ''</optional></parameter> </para> <para> フィルターとして動作し、 通知を送信したのがこのパラメータで渡されたクラスにマッチする場合のみ オブザーバに通知します。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removeobserver.return"> &title.returns; <para> <emphasis>bool</emphasis> オブザーバが削除された場合 &true;、 さもなければ &false; 。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.removeobserver.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-dispatcher/setnotificationclass.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-dispatcher/setnotificationclass.xml +++ peardoc/ja/package/event/event-dispatcher/event-dispatcher/setnotificationclass.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-dispatcher.setnotificationclass"> <refnamediv> <refname><function>Event_Dispatcher::setNotificationClass</function></refname> <refpurpose>通知として使用するクラスを設定する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Dispatcher.php'; </funcsynopsisinfo> <funcprototype> <funcdef>bool <function>Event_Dispatcher::setNotificationClass</function></funcdef> <paramdef>string <parameter>$class</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-dispatcher.setnotificationclass.desc"> &title.desc; <para> <function>post</function> メソッドがコールされた際に 通知オブジェクトとして使用するクラス名を設定します。 </para> <para> 単一のディスパッチャに対するクラスを変更する、 もしくは生成される全てのディスパッチャに対するデフォルトを 静的に設定するためにこのメソッドをコールします。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.setnotificationclass.param"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter>$class</parameter> </para> <para> <function>post</function> メソッドがコールされた際に 通知オブジェクトとして使用するクラス名を指定します。 このクラスが通知クラスとして使用される前にロードされることを 確認してください。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.setnotificationclass.return"> &title.returns; <para> このメソッドは常に true を返します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-dispatcher.setnotificationclass.note"> &title.note; &note.canstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/cancelnotification.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/cancelnotification.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/cancelnotification.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.cancelnotification"> <refnamediv> <refname><function>Event_Notification::cancelNotification</function></refname> <refpurpose>通知をキャンセルする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Event_Notification::cancelNotification</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.cancelnotification.desc"> &title.desc; <para> 通知をキャンセルします。 </para> <para> 通知がキャンセルされた場合、オブザーバは通知を受けなくなります。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.cancelnotification.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.cancelnotification.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/event-notification.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/event-notification.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/event-notification.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.event-notification"> <refnamediv> <refname><function>Event_Notification::Event_Notification</function></refname> <refpurpose>新規通知オブジェクトを作成する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object Event_Notification <function>Event_Notification::Event_Notifcation</function></funcdef> <paramdef>object <parameter>&amp;$object</parameter></paramdef> <paramdef>string <parameter>$nName</parameter></paramdef> <paramdef>mixed <parameter><optional>$info = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.event-notification.desc"> &title.desc; <para> Event_Notification クラスのコンストラクタです。 </para> <para> <function>Event_Dispatcher::post</function> メソッドによって自動的に生成されるため、ほとんどの場合、 独自に通知オブジェクトを生成する必要はないでしょう。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.event-notification.param"> &title.param; <para> <itemizedlist> <listitem> <para> object <parameter>&amp;$object</parameter> </para> <para> 通知をポストするオブジェクトへの参照を指定します (送信者)。 おそらく、コールバック内で通知にフィルタをかけるために使用されます。 </para> </listitem> <listitem> <para> string <parameter>$nName</parameter> </para> <para> 通知名を指定します。 </para> </listitem> <listitem> <para> mixed <parameter><optional>$info = array()</optional></parameter> </para> <para> 通知についての追加情報を指定します </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.event-notification.return"> &title.returns; <para> <emphasis>string</emphasis> 通知名 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.event-notification.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationcount.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationcount.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationcount.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.getnotificationcount"> <refnamediv> <refname><function>Event_Notification::getNotificationCount</function></refname> <refpurpose>通知されたオブザーバの数を取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>Event_Notification::getNotificationCount</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationcount.desc"> &title.desc; <para> 通知によって通知されたオブザーバの数を取得します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationcount.return"> &title.returns; <para> <emphasis>int</emphasis> 通知されたオブザーバの数 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationcount.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationinfo.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationinfo.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationinfo.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.getnotificationinfo"> <refnamediv> <refname><function>Event_Notification::getNotificationInfo</function></refname> <refpurpose>通知からの追加情報を取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>Event_Notification::getNotificationInfo</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationinfo.desc"> &title.desc; <para> 通知に格納されている追加情報を取得します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationinfo.return"> &title.returns; <para> <emphasis>mixed</emphasis> 追加情報 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationinfo.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationname.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationname.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationname.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.getnotificationname"> <refnamediv> <refname><function>Event_Notification::getNotificationName</function></refname> <refpurpose>通知名を取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Event_Notification::getNotificationName</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationname.desc"> &title.desc; <para> 通知名を取得します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationname.return"> &title.returns; <para> <emphasis>string</emphasis> 通知名 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationname.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationobject.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationobject.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/getnotificationobject.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.getnotificationobject"> <refnamediv> <refname><function>Event_Notification::getNotificationObject</function></refname> <refpurpose>通知を送信したオブジェクトを取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>&amp;Event_Notification::getNotificationObject</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationobject.desc"> &title.desc; <para> 通知を送信したオブジェクトへの参照を取得します。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationobject.return"> &title.returns; <para> <emphasis>object</emphasis> 通知の送信者 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.getnotificationobject.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/event/event-dispatcher/event-notification/isnotificationcancelled.xml?r=1.1&p=1 Index: peardoc/ja/package/event/event-dispatcher/event-notification/isnotificationcancelled.xml +++ peardoc/ja/package/event/event-dispatcher/event-notification/isnotificationcancelled.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: shimooka Status: ready --> <refentry id="package.event.event-dispatcher.event-notification.isnotificationcancelled"> <refnamediv> <refname><function>Event_Notification::isNotificationCancelled</function></refname> <refpurpose>通知がキャンセルされたかどうかをチェックする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Event/Notification.php'; </funcsynopsisinfo> <funcprototype> <funcdef>bool <function>Event_Notification::isNotificationCancelled</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.event.event-dispatcher.event-notification.isnotificationcancelled.desc"> &title.desc; <para> 通知がキャンセルされたかどうかをチェックします。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.isnotificationcancelled.return"> &title.returns; <para> <emphasis>bool</emphasis> 通知がキャンセルされた場合 &true; 、 そうでなければ &false; 。 </para> </refsect1> <refsect1 id="package.event.event-dispatcher.event-notification.isnotificationcancelled.note"> &title.note; &note.notstatic; </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 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=event fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.pear.doc (#6359) next »