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 9 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33462

    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

    Yevhen Shyshkin
    Participant

    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)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top