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

Class: Iframe

Source Location: /myphp-1.9/myphp-1.9-page/html/util/Iframe.php

Class Iframe

Class Overview

Returns a complete IFRAME as HTML

  1. <iframe name="bannerIframe" src="Banneriframe.php" width="468" height="60"
  2. title="todo" align="right" frameborder="0" scrolling="no" marginheight="0" marginwidth="0">
  3. <img src="/images/logo.gif" width="468" height="60" alt="todo" />
  4. </iframe>
  5. Usage:
  6. $iframe = new Iframe($src,$width,$height,$align,$frameborder,$marginheight,$marginwidth,$scrolling,$name,$title,$class);
  7. print $iframe->getHtml();
  8. Or
  9. Iframe::display($src,$width,$height,$align,$frameborder,$marginheight,$marginwidth,$scrolling,$name,$title,$class);

Located in /myphp-1.9/myphp-1.9-page/html/util/Iframe.php [line 38]

Object
   |
   --Html
      |
      --Iframe

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   $align  
mixed   $class  
mixed   $frameborder  
mixed   $height  
mixed   $marginheight  
mixed   $marginwidth  
mixed   $name  
mixed   $scrolling  
mixed   $src  
mixed   $target  
mixed   $title  
mixed   $width  

[ Top ]
Method Summary
Iframe   Iframe()   Constructor
void   display()   Display html
String,   getHtml()   Get the complete html for an IFRAME

[ Top ]
Properties
mixed   $align = '' [line 42]

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

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

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

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

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

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

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

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

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

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

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

[ Top ]
Methods
Constructor Iframe  [line 66]

  Iframe Iframe( [String $src = ''], [String $width = ''], [String $height = ''], [String $align = ''], [String $frameborder = ''], [String $marginheight = ''], [String $marginwidth = ''], [String $scrolling = ''], [String $name = ''], [String $title = ''], [String $class = '']  )

Constructor

Parameters:
String   $src:  The html to use inside the iframe
String   $width:  The width of the iframe
String   $height:  The height of the iframe
String   $align:  The align of the iframe
String   $frameborder:  The frameborder of the iframe
String   $marginheight:  The marginheight of the iframe
String   $marginwidth:  The marginwidth of the iframe
String   $scrolling:  The scrolling of the iframe
String   $name:  The name of the iframe
String   $title:  The title of the iframe
String   $class:  The css class of the iframe


[ Top ]
display  [line 132]

  void display( [String $src = ''], [String $width = ''], [String $height = ''], [String $align = ''], [String $frameborder = ''], [String $marginheight = ''], [String $marginwidth = ''], [String $scrolling = ''], [String $name = ''], [String $title = ''], [String $class = '']  )

Display html

  1. Usage:
  2. Iframe::display($src,$width,$height,$align,$frameborder,$marginheight,$marginwidth,$scrolling,$name,$title,$class);

Parameters:
String   $src:  The html to use inside the iframe
String   $width:  The width of the iframe
String   $height:  The height of the iframe
String   $align:  The align of the iframe
String   $frameborder:  The frameborder of the iframe
String   $marginheight:  The marginheight of the iframe
String   $marginwidth:  The marginwidth of the iframe
String   $scrolling:  The scrolling of the iframe
String   $name:  The name of the iframe
String   $title:  The title of the iframe
String   $class:  The css class of the iframe

API Tags:
Static:  


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

[ Top ]
getHtml  [line 86]

  String, getHtml( )

Get the complete html for an IFRAME


API Tags:
Return:  the html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]

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