Class Swift_ConnectionBase

Description

Swift Connection Base Class

Located in /Swift/ConnectionBase.php (line 21)


	
			
Direct descendents
Class Description
Swift_Connection_Multi Swift Multi Connection
Swift_Connection_NativeMail Swift mail() Connection NOTE: This class is nothing more than a stub. The MailSend plugin does the actual sending.
Swift_Connection_Rotator Swift Rotator Connection
Swift_Connection_Sendmail Swift Sendmail Connection
Swift_Connection_SMTP Swift SMTP Connection
Method Summary
array getAttributes (string $extension)
boolean hasExtension (string $name)
void postConnect ( $instance)
void setExtension (string $name, [array $options = array()])
Methods
getAttributes (line 57)

Get the list of attributes supported by the given extension

  • return: The list of attributes
  • throws: Swift_Connection_Exception If the extension cannot be found
array getAttributes (string $extension)
  • string $extension: The name of the connection

Redefined in descendants as:
hasExtension (line 43)

Check if a given extension has been set as available

boolean hasExtension (string $name)
  • string $name: The name of the extension

Redefined in descendants as:
postConnect (line 50)

Execute any needed logic after connecting and handshaking

void postConnect ( $instance)

Redefined in descendants as:
setExtension (line 34)

Set an extension which the connection reports to support

void setExtension (string $name, [array $options = array()])
  • string $name: Extension name
  • array $options: Attributes of the extension

Redefined in descendants as:

Documentation generated on Tue, 06 Mar 2007 23:32:22 +0000 by phpDocumentor 1.3.1