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

Class: Company

Source Location: /myphp-1.9/myphp-1.9-layout/html/page/Company.php

Class Company

Class Overview

Used to get/display the Company Information

  1. +-----------------------------------------+
  2. | Company Information and picture |
  3. +-----------------------------------------+
  4. Usage:
  5. $html = new Company($text,$width,$class,$border,$cellPadding,$cellSpacing);
  6. print $html->getHtml();
  7. Or
  8. Company::display($text,$width,$class,$border,$cellPadding,$cellSpacing);

Located in /myphp-1.9/myphp-1.9-layout/html/page/Company.php [line 35]

Object
   |
   --Html
      |
      --Company

Properties

Methods

[ Top ]
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   $account  
mixed   $address  
mixed   $bank  
mixed   $border  
mixed   $caption  
mixed   $cellPadding  
mixed   $cellSpacing  
mixed   $city  
mixed   $class  
mixed   $company  
mixed   $contact_person  
mixed   $country  
mixed   $cvr_nr  
mixed   $email  
mixed   $fax  
mixed   $mobile_phone  
mixed   $phone  
mixed   $picture  
mixed   $private_phone  
mixed   $se_nr  
mixed   $summary  
mixed   $text  
mixed   $web  
mixed   $width  
mixed   $zip  

[ Top ]
Method Summary
Company   Company()   Constructor
void   display()   Display html
String   getHtml()   Builds the html, and return it for a Customer Information
String   getInfo()   Get the html for each row, and return it

[ Top ]
Properties
mixed   $account = '' [line 53]

[ Top ]
mixed   $address = '' [line 40]

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

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

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

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

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

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

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

[ Top ]
mixed   $company = '' [line 38]

[ Top ]
mixed   $contact_person = '' [line 39]

[ Top ]
mixed   $country = '' [line 43]

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

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

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

[ Top ]
mixed   $mobile_phone = '' [line 45]

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

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

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

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

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

[ Top ]
mixed   $text = '' [line 36]

[ Top ]
mixed   $web = '' [line 49]

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

[ Top ]
mixed   $zip = '' [line 41]

[ Top ]
Methods
Constructor Company  [line 76]

  Company Company( [String $text = ''], [String $width = ''], [String $class = ''], [String $border = ''], [String $cellPadding = ''], [String $cellSpacing = '']  )

Constructor

Parameters:
String   $text:  The text of the table
String   $width:  The width of the table, default 100%
String   $class:  The css class to use
String   $border:  The table border
String   $cellPadding:  The Cell Padding
String   $cellSpacing:  The Cell Spacing

API Tags:
Global:  IMG_PATH, 0: The path to the images dir


[ Top ]
display  [line 212]

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

Display html

  1. Usage:
  2. Company::display($text,$width,$class,$border,$cellPadding,$cellSpacing);

Parameters:
String   $text:  The text of the table
String   $width:  The width of the table, default 100%
String   $class:  The css class to use
String   $border:  The table border
String   $cellPadding:  The Cell Padding
String   $cellSpacing:  The Cell Spacing

API Tags:
Static:  


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

[ Top ]
getHtml  [line 110]

  String getHtml( )

Builds the html, and return it for a Customer Information


API Tags:
Return:  The html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]
getInfo  [line 152]

  String getInfo( mixed $info  )

Get the html for each row, and return it


API Tags:
Return:  The html


[ Top ]

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