PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Event_Dispatcher

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Event
View previous topic :: View next topic  
Author Message
mkhadem



Joined: 22 Nov 2007
Posts: 2
Location: USA

PostPosted: Wed Dec 26, 2007 8:37 am    Post subject: Event_Dispatcher Reply with quote

Hi,
I need help. I like to write a class which has two inputs and one output as attributes. It adds the inputs value and set the output with the sum. The output could be used as input to the next object. Every time the input is set, a new event is posted and the output will be recalculated and then a new event will be posted which the second object is a observer of the event and should recalculate its output.
How can I set the observer of second object to listen to the changes of the output of first object? They are the same calss but two different instances.

Thanks.
Mohsen
Back to top
View user's profile Send private message
giantmonster



Joined: 05 Mar 2010
Posts: 2

PostPosted: Fri Mar 05, 2010 8:32 am    Post subject: Reply with quote

thanks for letting me know..
_________________
Office Space Chicago | Office Space Manhattan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Event All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement