OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Time relate listener

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 5 years, 4 months ago.

The forum will run in the read-only mode starting from March 1. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33462
    alendo
    alendo
    Participant

    Is it possible to setup time related listeners (or something like this). I need to perform some action when my contents are “published” and this happens in a time interval (publish_start_time : publish_end_time).
    thanks
    Alessandra

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #33463

    Hello, Alessandra.

    1) You can add regular doctrine event listener using onPersist event, and check time interval there.

    2) You can add process with “create” event trigger and add conditions to configuration (in fact it’s also event listener but in declarative form).

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No