معرفی شرکت ها


collective.hook-1.0b1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A very simple hook system for zope application by Makina-Corpus.
ویژگی مقدار
سیستم عامل -
نام فایل collective.hook-1.0b1
نام collective.hook
نسخه کتابخانه 1.0b1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده JeanMichel FRANCOIS aka toutpt
ایمیل نویسنده toutpt@makina-corpus.org
آدرس صفحه اصلی http://svn.plone.org/svn/collective/collective.hook
آدرس اینترنتی https://pypi.org/project/collective.hook/
مجوز GPL
Introduction ============ Hook is a system based on zope.event. To make a method hookable, you first need to define an event that provide at least IHookEvent. Next you can use collective.hook.decorator.hook(MyEventClassHook) to decorate your method. Define a handler as usual: <subscriber for="my.module.IMyHook" handler="my.module.my_hook" /> Warning: This event is triggered two times. So you need in your hook to check the value of before boolean attribute or after boolean attribute. The event store the result of the call in the attribute 'returned_value' There are also hooked_args and hooked_kwargs if you want to play with arguments. Credits ======= Companies --------- |makinacom|_ * `Planet Makina Corpus <http://www.makina-corpus.org>`_ * `Contact us <mailto:python@makina-corpus.org>`_ .. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif .. _makinacom: http://www.makina-corpus.com Authors - JeanMichel FRANCOIS aka toutpt <toutpt@makina-corpus.org> Contributors Changelog ========= 1.0b1 (2010-05-27) ------------------ - Initial release


نحوه نصب


نصب پکیج whl collective.hook-1.0b1:

    pip install collective.hook-1.0b1.whl


نصب پکیج tar.gz collective.hook-1.0b1:

    pip install collective.hook-1.0b1.tar.gz