[ Index ]

MailPress 544

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

title

Body

[close]

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

General utility class in Swift Mailer, not to be instantiated.

Author: Chris Corbyn
File Size: 80 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  init()
  autoload()
  registerAutoload()

Functions
Functions that are not part of a class:

init($callable)   X-Ref
Registers an initializer callable that will be called the first time
a SwiftMailer class is autoloaded.

This enables you to tweak the default configuration in a lazy way.

param: mixed $callable A valid PHP callable that will be called when autoloading the first Swift class

autoload($class)   X-Ref
Internal autoloader for spl_autoload_register().

param: string $class

registerAutoload($callable = null)   X-Ref
Configure autoloading using Swift Mailer.

This is designed to play nicely with other autoloaders.

param: mixed $callable A valid PHP callable that will be called when autoloading the first Swift class



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