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

Class: Imagerotator

Source Location: /myphp-1.9/myphp-1.9-component/html/page/Imagerotator.php

Class Imagerotator

Class Overview

Image Rotator. An image is shown in an round robin fasion

  1. Usage:
  2. $imagerotator = new Imagerotator($path,$image);
  3. print $imagerotator->getHtml();
  4. Or
  5. Imagerotator::display($path,$image);

Located in /myphp-1.9/myphp-1.9-component/html/page/Imagerotator.php [line 32]

Object
   |
   --Html
      |
      --Imagerotator

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   $image  
mixed   $MAX  
mixed   $path  

[ Top ]
Method Summary
Imagerotator   Imagerotator()   Constructor
void   display()   Display html
String   getHtml()   Builds the html, and return it for an Image Rotator object
String   getName()   Get the name of the image to rotate

[ Top ]
Properties
mixed   $image = '' [line 35]

[ Top ]
mixed   $MAX = '61' [line 33]

[ Top ]
mixed   $path = '' [line 34]

[ Top ]
Methods
Constructor Imagerotator  [line 42]

  Imagerotator Imagerotator( [String $path = ''], [String $image = '']  )

Constructor

Parameters:
String   $path:  The path to the images
String   $image:  The image to use for now


[ Top ]
display  [line 97]

  void display( [String $path = ''], [String $image = '']  )

Display html

  1. Usage:
  2. Imagerotator::display($path,$image);

Parameters:
String   $path:  The path to the images to rotate
String   $image:  The image to use for now

API Tags:
Static:  


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

[ Top ]
getHtml  [line 65]

  String getHtml( )

Builds the html, and return it for an Image Rotator object


API Tags:
Return:  The html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]
getName  [line 52]

  String getName( )

Get the name of the image to rotate


API Tags:
Return:  The name


[ Top ]

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