summaryrefslogtreecommitdiff
path: root/docs/zcml/subscriber.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-25 18:13:44 -0400
committerChris McDonough <chrism@plope.com>2010-10-25 18:13:44 -0400
commitc03dbcca24aeedfb688bf49b7ccfeef20f6f8298 (patch)
tree3fe9a9d9ab83871f2562841b65fcfd3477ee90a0 /docs/zcml/subscriber.rst
parent9c3b2760688aca748f81529d0b055f799959ab4b (diff)
downloadpyramid-c03dbcca24aeedfb688bf49b7ccfeef20f6f8298.tar.gz
pyramid-c03dbcca24aeedfb688bf49b7ccfeef20f6f8298.tar.bz2
pyramid-c03dbcca24aeedfb688bf49b7ccfeef20f6f8298.zip
convert zcml docs to Pyramid
Diffstat (limited to 'docs/zcml/subscriber.rst')
-rw-r--r--docs/zcml/subscriber.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/zcml/subscriber.rst b/docs/zcml/subscriber.rst
index 371ec0752..c48c89a9b 100644
--- a/docs/zcml/subscriber.rst
+++ b/docs/zcml/subscriber.rst
@@ -4,7 +4,7 @@
--------------
The ``subscriber`` ZCML directive configures an :term:`subscriber`
-callable to listen for events broadcast by the :mod:`repoze.bfg` web
+callable to listen for events broadcast by the :mod:`pyramid` web
framework.
Attributes
@@ -12,7 +12,7 @@ Attributes
``for``
The class or :term:`interface` that you are subscribing the
- listener for, e.g. :class:`repoze.bfg.interfaces.INewRequest`.
+ listener for, e.g. :class:`pyramid.interfaces.INewRequest`.
Registering a subscriber for a specific class or interface limits
the event types that the subscriber will receive to those specified
by the interface or class. Default: ``zope.interface.Interface``
@@ -30,7 +30,7 @@ Examples
:linenos:
<subscriber
- for="repoze.bfg.interfaces.INewRequest"
+ for="pyramid.interfaces.INewRequest"
handler=".subscribers.handle_new_request"
/>
@@ -38,7 +38,7 @@ Alternatives
~~~~~~~~~~~~
You can also register an event listener by using the
-:meth:`repoze.bfg.configuration.Configurator.add_subscriber` method.
+:meth:`pyramid.configuration.Configurator.add_subscriber` method.
See Also
~~~~~~~~