[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Events/ -> SimpleEventDispatcher.php (summary)

(no description)

File Size: 156 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Events_SimpleEventDispatcher:: (10 methods):
  __construct()
  createSendEvent()
  createCommandEvent()
  createResponseEvent()
  createTransportChangeEvent()
  createTransportExceptionEvent()
  bindEventListener()
  dispatchEvent()
  _prepareBubbleQueue()
  _bubble()


Class: Swift_Events_SimpleEventDispatcher  - X-Ref

The EventDispatcher which handles the event dispatching layer.

__construct()   X-Ref
Create a new EventDispatcher.


createSendEvent(Swift_Transport $source, Swift_Mime_Message $message)   X-Ref
Create a new SendEvent for $source and $message.

param: Swift_Transport $source
param: Swift_Mime_Message
return: Swift_Events_SendEvent

createCommandEvent(Swift_Transport $source, $command, $successCodes = array()   X-Ref
Create a new CommandEvent for $source and $command.

param: Swift_Transport $source
param: string          $command      That will be executed
param: array           $successCodes That are needed
return: Swift_Events_CommandEvent

createResponseEvent(Swift_Transport $source, $response, $valid)   X-Ref
Create a new ResponseEvent for $source and $response.

param: Swift_Transport $source
param: string          $response
param: bool            $valid    If the response is valid
return: Swift_Events_ResponseEvent

createTransportChangeEvent(Swift_Transport $source)   X-Ref
Create a new TransportChangeEvent for $source.

param: Swift_Transport $source
return: Swift_Events_TransportChangeEvent

createTransportExceptionEvent(Swift_Transport $source, Swift_TransportException $ex)   X-Ref
Create a new TransportExceptionEvent for $source.

param: Swift_Transport          $source
param: Swift_TransportException $ex
return: Swift_Events_TransportExceptionEvent

bindEventListener(Swift_Events_EventListener $listener)   X-Ref
Bind an event listener to this dispatcher.

param: Swift_Events_EventListener $listener

dispatchEvent(Swift_Events_EventObject $evt, $target)   X-Ref
Dispatch the given Event to all suitable listeners.

param: Swift_Events_EventObject $evt
param: string                   $target method

_prepareBubbleQueue(Swift_Events_EventObject $evt)   X-Ref
No description

_bubble(Swift_Events_EventObject $evt, $target)   X-Ref
No description



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1