Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Events_CommandEvent

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/CommandEvent.php

Class Overview

Swift_Events_EventObject
   |
   --Swift_Events_CommandEvent

Generated when a command is sent over an SMTP connection.


Author(s):

  • Chris Corbyn

Methods


Inherited Methods

Class: Swift_Events_EventObject

Swift_Events_EventObject::__construct()
Create a new EventObject originating at $source.
Swift_Events_EventObject::bubbleCancelled()
Returns true if this Event will not bubble any further up the stack.
Swift_Events_EventObject::cancelBubble()
Prevent this Event from bubbling any further up the stack.
Swift_Events_EventObject::getSource()
Get the source object of this event.

Class Details

[line 16]
Generated when a command is sent over an SMTP connection.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 39]

Swift_Events_CommandEvent __construct( Swift_Transport $source, string $command, [array $successCodes = array()])

Create a new CommandEvent for $source with $command.



Tags:

access:  public


Overrides Swift_Events_EventObject::__construct() (Create a new EventObject originating at $source.)

Parameters:

Swift_Transport   $source  
string   $command  
array   $successCodes  

[ Top ]

method getCommand [line 51]

string getCommand( )

Get the command which was sent to the server.



Tags:

access:  public


[ Top ]

method getSuccessCodes [line 61]

integer[] getSuccessCodes( )

Get the numeric response codes which indicate success for this command.



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:46:25 +0000 by phpDocumentor 1.4.3