XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Image Class Reference
Inheritance diagram for Swift_Image:
Inheritance graph

Public Member Functions

 __construct ($data=null, $filename=null, $contentType=null)
 
- Public Member Functions inherited from Swift_EmbeddedFile
 __construct ($data=null, $filename=null, $contentType=null)
 
- Public Member Functions inherited from Swift_Mime_EmbeddedFile
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, $mimeTypes=array())
 
 getNestingLevel ()
 
- Public Member Functions inherited from Swift_Mime_Attachment
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, $mimeTypes=array())
 
 getDisposition ()
 
 getFilename ()
 
 getNestingLevel ()
 
 getSize ()
 
 setDisposition ($disposition)
 
 setFile (Swift_FileStream $file, $contentType=null)
 
 setFilename ($filename)
 
 setSize ($size)
 
- Public Member Functions inherited from Swift_Mime_SimpleMimeEntity
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache)
 
 __destruct ()
 
 __toString ()
 
 charsetChanged ($charset)
 
 encoderChanged (Swift_Mime_ContentEncoder $encoder)
 
 generateId ()
 
 getBody ()
 
 getBoundary ()
 
 getChildren ()
 
 getContentType ()
 
 getDescription ()
 
 getEncoder ()
 
 getHeaders ()
 
 getId ()
 
 getMaxLineLength ()
 
 getNestingLevel ()
 
 setBody ($body, $contentType=null)
 
 setBoundary ($boundary)
 
 setChildren (array $children, $compoundLevel=null)
 
 setContentType ($type)
 
 setDescription ($description)
 
 setEncoder (Swift_Mime_ContentEncoder $encoder)
 
 setId ($id)
 
 setMaxLineLength ($length)
 
 toByteStream (Swift_InputByteStream $is)
 
 toString ()
 
- Public Member Functions inherited from Swift_Mime_MimeEntity
 setChildren (array $children)
 

Static Public Member Functions

static fromPath ($path)
 
static newInstance ($data=null, $filename=null, $contentType=null)
 
- Static Public Member Functions inherited from Swift_EmbeddedFile
static fromPath ($path)
 
static newInstance ($data=null, $filename=null, $contentType=null)
 

Additional Inherited Members

- Public Attributes inherited from Swift_Mime_MimeEntity
const LEVEL_ALTERNATIVE = 4096
 
const LEVEL_MIXED = 256
 
const LEVEL_RELATED = 65536
 
const LEVEL_TOP = 16
 
- Protected Member Functions inherited from Swift_Mime_SimpleMimeEntity
 _clearCache ()
 
 _fixHeaders ()
 
 _getCache ()
 
 _getHeaderFieldModel ($field)
 
 _getHeaderParameter ($field, $parameter)
 
 _getIdField ()
 
 _setHeaderFieldModel ($field, $model)
 
 _setHeaderParameter ($field, $parameter, $value)
 
 getRandomId ()
 
- Protected Attributes inherited from Swift_Mime_SimpleMimeEntity
 $_userContentType
 

Detailed Description

Definition at line 20 of file Image.php.

Constructor & Destructor Documentation

Swift_Image::__construct (   $data = null,
  $filename = null,
  $contentType = null 
)

Create a new EmbeddedFile. Details may be optionally provided to the constructor.

Parameters
string | Swift_OutputByteStream$data
string$filename
string$contentType

Definition at line 30 of file Image.php.

References $data, and __construct().

Here is the call graph for this function:

Member Function Documentation

static Swift_Image::fromPath (   $path)
static

Create a new Image from a filesystem path.

Parameters
string$path
Returns
Swift_Mime_EmbeddedFile

Definition at line 54 of file Image.php.

References $image, and $path.

Referenced by RMMailer\embed().

Here is the caller graph for this function:

static Swift_Image::newInstance (   $data = null,
  $filename = null,
  $contentType = null 
)
static

Create a new Image.

Parameters
string | Swift_OutputByteStream$data
string$filename
string$contentType
Returns
Swift_Mime_EmbeddedFile

Definition at line 43 of file Image.php.

References $data.

Referenced by RMMailer\embed().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: