Greeting
[ class tree: Greeting ] [ index: Greeting ] [ all elements ]

Class: Greeting

Source Location: /class.php4.greeting.php

Class Overview


Greeting card class for php 4.x


Author(s):

Version:

  • 1.1

Copyright:

  • Copyright (C)2006 Todor Iliev . All rights reserved.

Variables

Methods



Class Details

[line 44]
Greeting card class for php 4.x



Tags:

example:  example
example:  example
example:  example
license:  GNU Public License
version:  1.1
copyright:  Copyright (C)2006 Todor Iliev . All rights reserved.
author:  Todor Iliev (TheLordOfWeb) <todor.iliev@viplord.com> <http://viplord.com/>


[ Top ]


Class Variables

$mAddTxt =    ''

[line 50]

Additional text to card


Type:   string


[ Top ]

$mBg =    '#FFFFFF'

[line 57]

Card background


Type:   string


[ Top ]

$mError = array()

[line 147]

Array with errors


Type:   array(int=>string)


[ Top ]

$mFileName =    ''

[line 64]

Full URL path to card image


Type:   string


[ Top ]

$mSendFromMail =    ''

[line 71]

Sender e-mail address


Type:   string


[ Top ]

$mSendFromName =    ''

[line 78]

Sender name


Type:   string


[ Top ]

$mSendToMail =    ''

[line 85]

e-mail address to send


Type:   string


[ Top ]

$mSubject =    'Greeting card'

[line 92]

e-mail mSubject


Type:   string


[ Top ]

$mText =    ''

[line 99]

Greeting text


Type:   string


[ Top ]

$mTextColor =    '#000000'

[line 106]

Text color


Type:   string


[ Top ]

$mTextFont =    'Verdana, Arial, Helvetica, sans-serif'

[line 113]

Font name on text


Type:   string


[ Top ]

$mTextPos =    'center'

[line 120]

card position


Type:   string


[ Top ]

$mTextSize =    'medium'

[line 127]

text size


Type:   string


[ Top ]

$mTextStyle =    ''

[line 134]

text style


Type:   string


[ Top ]

$mType =    'html'

[line 141]

type on e-mail( html or plaint)


Type:   string


[ Top ]



Class Methods


constructor Greeting [line 155]

void Greeting( $fileName, string $mFileName)

Greeting card constructor



Parameters:

string   $mFileName   Greeting card(file) path and name
   $fileName  

[ Top ]

method CreateFlash [line 249]

string CreateFlash( )

Create card with Flash as HTML



Tags:

return:  body without '</body><html>' tags


[ Top ]

method CreateHtml [line 229]

string CreateHtml( )

Create card with image as HTML



Tags:

return:  body without '</body><html>' tags


[ Top ]

method CreateText [line 276]

string CreateText( )

Create body as TEXT



Tags:

return:  Body


[ Top ]

method FooterCard [line 216]

string FooterCard( )

Greeting card footer



Tags:

return:  end of HTML content


[ Top ]

method GetCard [line 289]

string GetCard( )

Get greeting card content



Tags:

return:  full greeting card content


[ Top ]

method HeaderCard [line 164]

string HeaderCard( )

Crete greeting card header



Tags:

return:  header on html card content


[ Top ]

method SendCard [line 318]

boold SendCard( )

Send greeting card



Tags:

return:  true on success or false on fail


[ Top ]

method ShowErrors [line 307]

void ShowErrors( )

Show errors



[ Top ]


Documentation generated on Mon, 18 Dec 2006 00:26:04 +0200 by phpDocumentor 1.3.1