[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/AkActionMailer/ -> AkMailBase.php (summary)

(no description)

File Size: 654 lines (21 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AkMailBase:: (56 methods):
  AkMailBase()
  parse()
  load()
  setBody()
  getBody()
  _base64Body()
  setCc()
  setBcc()
  setCharset()
  getCharset()
  setContentType()
  getContentType()
  hasContentType()
  setContenttypeAttributes()
  getContentTypeAttributes()
  bodyToString()
  isMainMessage()
  isPart()
  _getAttributesForHeader()
  setContentDisposition()
  setContentTransferEncoding()
  setTransferEncoding()
  getContentTransferEncoding()
  getTransferEncoding()
  _getContentTypeAndAttributes()
  getDefault()
  _addHeaderAttributes()
  getRawHeaders()
  getHeaders()
  getHeader()
  loadHeaders()
  _moveMailInstanceAttributesToHeaders()
  _belongsToHeaders()
  _castHeaderKey()
  setHeaders()
  setHeader()
  set()
  getSortedParts()
  sortParts()
  _contentTypeComparison()
  setParts()
  setPart()
  _propagateMultipartParts()
  _moveBodyToInlinePart()
  setAsMultipart()
  isMultipart()
  isAttachment()
  _addAttachment()
  hasAttachments()
  hasParts()
  hasNonAttachmentParts()
  setAttachment()
  setAttachments()
  setMessageId()
  setImplicitPartsOrder()
  getEncoded()


Class: AkMailBase  - X-Ref

AkMailBase()   X-Ref
No description

parse($raw_email = '')   X-Ref
No description

load($email_file)   X-Ref
No description

setBody($body)   X-Ref
No description

getBody()   X-Ref
No description

_base64Body($content)   X-Ref
No description

setCc($cc)   X-Ref
Specify the CC addresses for the message.


setBcc($bcc)   X-Ref
Specify the BCC addresses for the message.


setCharset($charset, $append_to_content_type_as_attribute = true)   X-Ref
Specify the charset to use for the message.


getCharset($default_to = null)   X-Ref
No description

setContentType($content_type)   X-Ref
Specify the content type for the message. This defaults to <tt>text/plain</tt>
in most cases, but can be automatically set in some situations.


getContentType()   X-Ref
No description

hasContentType()   X-Ref
No description

setContenttypeAttributes($attributes = array()   X-Ref
No description

getContentTypeAttributes()   X-Ref
No description

bodyToString($Mail = null)   X-Ref
No description

isMainMessage()   X-Ref
No description

isPart()   X-Ref
No description

_getAttributesForHeader($header_index, $force_reload = false)   X-Ref
No description

setContentDisposition($content_disposition)   X-Ref
Specify the content disposition for the message.


setContentTransferEncoding($content_transfer_encoding)   X-Ref
Specify the content transfer encoding for the message.


setTransferEncoding($content_transfer_encoding)   X-Ref
Alias for  setContentTransferEncoding


getContentTransferEncoding()   X-Ref
No description

getTransferEncoding()   X-Ref
No description

_getContentTypeAndAttributes($content_type = null)   X-Ref
No description

getDefault($field)   X-Ref
No description

_addHeaderAttributes()   X-Ref
No description

getRawHeaders($options = array()   X-Ref
No description

getHeaders($force_reload = false)   X-Ref
No description

getHeader($header_name)   X-Ref
No description

loadHeaders()   X-Ref
No description

_moveMailInstanceAttributesToHeaders()   X-Ref
No description

_belongsToHeaders($attribute)   X-Ref
No description

_castHeaderKey($key)   X-Ref
No description

setHeaders($headers, $options = array()   X-Ref
Specify additional headers to be added to the message.


setHeader($name, $value = null, $options = array()   X-Ref
No description

set($attributes = array()   X-Ref
Generic setter

Calling $this->set(array('body'=>'Hello World', 'subject' => 'First subject'));
is the same as calling $this->setBody('Hello World'); and $this->setSubject('First Subject');

This simplifies creating mail objects from datasources.

If the method does not exists the parameter will be added to the header.

getSortedParts($parts, $order = array()   X-Ref
No description

sortParts()   X-Ref
No description

_contentTypeComparison($a, $b)   X-Ref
No description

setParts($parts, $position = 'append', $propagate_multipart_parts = false)   X-Ref
No description

setPart($options = array()   X-Ref
Add a part to a multipart message, with an array of options like
(content-type, charset, body, headers, etc.).

function my_mail_message()
{
$this->setPart(array(
'content-type' => 'text/plain',
'body' => "hello, world",
'transfer_encoding' => "base64"
));
}

_propagateMultipartParts()   X-Ref
No description

_moveBodyToInlinePart()   X-Ref
No description

setAsMultipart()   X-Ref
No description

isMultipart()   X-Ref
No description

isAttachment()   X-Ref
No description

_addAttachment(&$Part)   X-Ref
No description

hasAttachments()   X-Ref
No description

hasParts()   X-Ref
No description

hasNonAttachmentParts()   X-Ref
No description

setAttachment()   X-Ref
Add an attachment to a multipart message. This is simply a part with the
content-disposition set to "attachment".

$this->setAttachment("image/jpg", array(
'body' => Ak::file_get_contents('hello.jpg'),
'filename' => "hello.jpg"
));

setAttachments($attachments = array()   X-Ref
No description

setMessageId($id)   X-Ref
No description

setImplicitPartsOrder($implicit_parts_order)   X-Ref
Specify the order in which parts should be sorted, based on content-type.
This defaults to the value for the +default_implicit_parts_order+.


getEncoded()   X-Ref
No description



Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6