Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Address
  • Attachment
  • Body
  • Header
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Body

Email body.

Jyxo\Spl\Object implements Jyxo\Spl\ArrayCopy
Extended by Jyxo\Mail\Email\Body
Namespace: Jyxo\Mail\Email
Category: Jyxo
Package: Jyxo\Mail
Subpackage: Email
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jaroslav HanslĂ­k
Located at Mail/Email/Body.php
Methods summary
public
# __construct( string $main, string $alternative = '' )

Creates email body.

Creates email body.

Parameters

$main
string
Main contents
$alternative
string
Alternative contents
public boolean
# isHtml( )

Returns if the contents is in HTML format.

Returns if the contents is in HTML format.

Returns

boolean
public string
# getMain( )

Returns main body contents.

Returns main body contents.

Returns

string
public Jyxo\Mail\Email\Body
# setMain( string $main )

Sets main body contents.

Sets main body contents.

Parameters

$main
string
Contents

Returns

Jyxo\Mail\Email\Body
public string
# getAlternative( )

Returns alternative body contents.

Returns alternative body contents.

Returns

string
public Jyxo\Mail\Email\Body
# setAlternative( string $alternative )

Sets alternative body contents.

Sets alternative body contents.

Parameters

$alternative
string
Contents

Returns

Jyxo\Mail\Email\Body
Methods inherited from Jyxo\Spl\Object
__get(), __isset(), __set(), getClass(), toArray()
Jyxo PHP Library API documentation generated by ApiGen 2.3.0