[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/joomla/base/ -> observable.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id:observer.php 6961 2007-03-15 16:06:53Z tcp $
File Size: 126 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JObservable:: (5 methods):
  __construct()
  getState()
  notify()
  attach()
  detach()


Class: JObservable  - X-Ref

Abstract observable class to implement the observer design pattern

__construct()   X-Ref
Constructor


getState()   X-Ref
Get the state of the JObservable object

return: mixed The state of the object

notify()   X-Ref
Update each attached observer object and return an array of their return values

return: array Array of return values from the observers

attach( &$observer)   X-Ref
Attach an observer object

param: object $observer An observer object to attach
return: void

detach( $observer)   X-Ref
Detach an observer object

param: object $observer An observer object to detach
return: boolean True if the observer object was detached



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1