Class Laika_Event_Handler

Description

Implements interfaces:

  • SplSubject (internal interface)

Laika_Event_Handler class.

  • implements: SplSubject
  • extends: Laika_Singleton

Located in /library/core/Event_Handler.php (line 23)

Laika
   |
   --Laika_Singleton
      |
      --Laika_Event_Handler
Variable Summary
static mixed $instance
mixed $event
array $observers
mixed $param
Method Summary
void attach (SplObserver $observer)
void detach (SplObserver $observer)
void handle ( $event,  $param)
void notify ()
Variables
static mixed $instance (line 28)
  • access: protected

Redefinition of:
Laika_Singleton::$instance
instance
mixed $event (line 35)
  • access: protected
array $observers = array() (line 34)

Array of SplObserver objects

  • access: private
mixed $param (line 36)
  • access: protected
Methods
attach (line 48)

Attaches an SplObserver object to the handler

  • access: public
void attach (SplObserver $observer)
  • SplObserver $observer

Implementation of:
SplSubject::attach
detach (line 58)

Detaches the SplObserver object from the handler

  • access: public
void detach (SplObserver $observer)
  • SplObserver $observer

Implementation of:
SplSubject::detach
handle (line 80)

The Event Handler calls notify() and broadcasts state to all the listners.

  • access: public
void handle ( $event,  $param)
  • $event
  • $param
notify (line 68)

Notify all observers

  • access: public
void notify ()

Implementation of:
SplSubject::notify

Inherited Methods

Inherited From Laika_Singleton

Laika_Singleton::__construct()
Laika_Singleton::from_array()
Laika_Singleton::get()
Laika_Singleton::init()
Laika_Singleton::serialize_me()
Laika_Singleton::set()
Laika_Singleton::switch_instance()
Laika_Singleton::to_array()
Laika_Singleton::unserialize_me()
Laika_Singleton::__call()
Laika_Singleton::__clone()

Inherited From Laika

Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()
Class Constants

Inherited Constants

Inherited from Laika

Laika::LAIKA_RELEASE
Laika::LAIKA_VERSION

Documentation generated on Sat, 19 May 2012 02:16:59 -0400 by phpDocumentor 1.4.4