[Zope3-checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/event - subscribe.stx:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jan 22 18:57:40 EST 2004


Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/event
In directory cvs.zope.org:/tmp/cvs-serv7874/event

Modified Files:
	subscribe.stx 
Log Message:
Update ZCML directives documentation.


=== Zope3/doc/zcml/namespaces.zope.org/event/subscribe.stx 1.2 => 1.3 ===
--- Zope3/doc/zcml/namespaces.zope.org/event/subscribe.stx:1.2	Mon Jun 10 19:27:36 2002
+++ Zope3/doc/zcml/namespaces.zope.org/event/subscribe.stx	Thu Jan 22 18:57:09 2004
@@ -1,22 +1,26 @@
-The subscribe directive.
+subscribe
 
-see lib/python/Zope/Event/event-meta.zcml
+  File zope/app/event/meta.zcml, lines 8 - 12.
 
-Attributes
+  Subscribe to events
+
+  Attributes
+
+    subscriber -- GlobalObject (required)
+
+      Subscriber
+
+      
+
+    event_types -- Tokens (optional, default=None)
+
+      Events to subscribe to
+
+      Defaults to IEvent
+
+    filter -- GlobalObject (optional, default=None)
+
+      Filter
+
+      
 
-  * subscriber, dotted name that resolves to a component
-  
-  * event_types, whitespace-separated list of interfaces
-  
-  * filter, dotted name that resolves to a component
-  
-  The event_types and filter attributes are optional. If the
-  filter attribute is omitted, it defaults to no filter.
-  If the event_types attribute is omitted, it defaults to
-  subscribe for all events.
-  
-Notes
-
-  This directive should only be used to subscribe non-persistent
-  filesystem-level components to the non-persistent file-system
-  global event service.




More information about the Zope3-Checkins mailing list