Question concerning the organization.

For programming and general questions on Zend Framework

Question concerning the organization.

Postby flo395 on Mon Nov 04, 2013 11:24 am

Hi hi!
I have a question concerning the organization.
Already, the explanation ...
Let's say I have an object "$subject" on which the objects "$member" could subscribe.
If I turn off the $subject ($subject->disable()) in question, members are expected to receive an email ...

My question is, where should I do the manipulation (find members subscribers, send them an email, notifications, ...).
For now I do it in disable() function in my class Subject, you see. And I do not think this is really the right way to do (although this may work) ...

Would you have ideas, answer ... ?

Thank you in advance :)
flo395
 
Posts: 1
Joined: Mon Nov 04, 2013 11:18 am

Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 2 guests