phpDocumentor sms
[ class tree: sms ] [ index: sms ] [ all elements ]

Class: SmsEngine

Source Location: /myphp-1.9/myphp-1.9-sms/html/controller/SmsEngine.php

Class SmsEngine

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Html

Html::Html()
Constructor
Html::add()
Add an element, the number of elements are stored internally in an array.
Html::content()
Read the content of the specified filename
Html::display()
Display the html
Html::get()
Get the complete html for a key
Html::getAttribute()
Get the complete html for an attribute, i.e. <a class="myclass" ...
Html::getElement()
Get the element at position $i in array
Html::getElements()
Get all the elements as html
Html::getHtml()
Get Html
Html::getHtmlHelp()
Get html help
Html::getSizeof()
Get the number of elements added
Html::getTag()
Get the complete html for a html tag, i.e. <p>My paragraph</p>
Html::read()
Read the content of the specified filename and language
Html::set()
Set the named attribute (key) of a class to specified value
Html::setObject()
Set the named object to the class attribute (key), with same name
Html::showsource()
Show source
Html::update()
Save the content of the specified filename and language

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Property Summary
mixed   $action  
mixed   $adresse  
mixed   $border  
mixed   $by  
mixed   $caption  
mixed   $cellPadding  
mixed   $cellSpacing  
mixed   $class  
mixed   $contact  
mixed   $email  
mixed   $firmanavn  
mixed   $firma_telefon  
mixed   $information  
mixed   $is_order  
mixed   $kontakt_person  
mixed   $mobil_telefon  
mixed   $phone  
mixed   $postnr  
mixed   $privat_telefon  
mixed   $subject  
mixed   $summary  
mixed   $want_contact  
mixed   $want_offer  
mixed   $width  

[ Top ]
Method Summary
SmsEngine   SmsEngine()   Constructor
void   display()   Display the html
String   getErrorHtml()   Get the html, and return it as an error page
String   getFormHtml()   Get the html, and return it as a SMS Form page
String   getHtml()   Builds the html for a SMS form
String   getThanksHtml()   Get the html, and return it as a SMS Thanks page
boolean   send()   Send the SMS message

[ Top ]
Properties
mixed   $action = '' [line 43]

[ Top ]
mixed   $adresse = '' [line 58]

[ Top ]
mixed   $border = '' [line 67]

[ Top ]
mixed   $by = '' [line 60]

[ Top ]
mixed   $caption = '' [line 72]

[ Top ]
mixed   $cellPadding = '' [line 69]

[ Top ]
mixed   $cellSpacing = '' [line 70]

[ Top ]
mixed   $class = '' [line 68]

[ Top ]
mixed   $contact = '' [line 44]

[ Top ]
mixed   $email = '' [line 55]

[ Top ]
mixed   $firmanavn = '' [line 57]

[ Top ]
mixed   $firma_telefon = '' [line 63]

[ Top ]
mixed   $information = '' [line 48]

[ Top ]
mixed   $is_order = '' [line 52]

[ Top ]
mixed   $kontakt_person = '' [line 56]

[ Top ]
mixed   $mobil_telefon = '' [line 62]

[ Top ]
mixed   $phone = '' [line 42]

[ Top ]
mixed   $postnr = '' [line 59]

[ Top ]
mixed   $privat_telefon = '' [line 61]

[ Top ]
mixed   $subject = '' [line 47]

[ Top ]
mixed   $summary = '' [line 71]

[ Top ]
mixed   $want_contact = '' [line 50]

[ Top ]
mixed   $want_offer = '' [line 51]

[ Top ]
mixed   $width = '' [line 66]

[ Top ]
Methods
Constructor SmsEngine  [line 84]

  SmsEngine SmsEngine( [String $phone = ''], [String $action = ''], [String $width = ''], [String $class = ''], [String $border = ''], [String $cellPadding = ''], [String $cellSpacing = '']  )

Constructor

Parameters:
String   $phone:  The mobile phone to send a SMS
String   $action:  The url to go to
String   $width:  The width of the table
String   $class:  The css class to use
String   $border:  The table border
String   $cellPadding: 
String   $cellSpacing: 


[ Top ]
display  [line 292]

  void display( [String $phone = ''], [String $action = ''], [String $width = ''], [String $class = ''], [String $border = ''], [String $cellPadding = ''], [String $cellSpacing = '']  )

Display the html

  1. Usage:
  2. SmsEngine::display($phone,$action,$width,$class,$border,$cellPadding,$cellSpacing);

Parameters:
String   $phone:  The mobile phone to send a SMS
String   $action:  The url to go to
String   $width:  The width of the table
String   $class:  The css class to use
String   $border:  The table border
String   $cellPadding: 
String   $cellSpacing: 

API Tags:
Static:  


Redefinition of:
Html::display()
Display the html

[ Top ]
getErrorHtml  [line 141]

  String getErrorHtml( )

Get the html, and return it as an error page


API Tags:
Return:  The html


[ Top ]
getFormHtml  [line 119]

  String getFormHtml( )

Get the html, and return it as a SMS Form page


API Tags:
Return:  The html


[ Top ]
getHtml  [line 263]

  String getHtml( )

Builds the html for a SMS form


API Tags:
Return:  The result as html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]
getThanksHtml  [line 130]

  String getThanksHtml( )

Get the html, and return it as a SMS Thanks page


API Tags:
Return:  The html


[ Top ]
send  [line 154]

  boolean send( [mixed $about = ''], [String $content = ''], String $about,  )

Send the SMS message

Parameters:
String   $about,:  The SMS subject, if any
String   $content:  The SMS information, if any

API Tags:
Return:  The result, true if success, else false


[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:18:36 +0100 by phpDocumentor 1.3.0RC3