Login   Register  
PHP Classes
elePHPant
Icontem

Ad Rotator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vedanta Barooah  >  Ad Rotator  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Ad Rotator
Base name: adrotator
Description: Random ad image list rotator
Related classes: , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2123 users
All time rank: 1564
Week users: 1 user
Week rank: 2417
 

  Author  
Picture of Vedanta Barooah
Name: Vedanta Barooah <e-mail contact>
Packages: 11 Browse all classes by Vedanta Barooah Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 31
All time rank: 435 in United States United States
Week rank: 103 Down9 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 2x


  Detailed description  
This is a simple class that can be used to create ads that rotate according to a random order.

The class takes an array of image files name strings as parameter but it could also be HTML tags for rich media ads.

Then it shuffles the numbers assigned to each ad array position in a way that the shuffled array does not contain repeated ad numbers.
It displays randomized images from a group of specified images, without repetition.

Finally the class can return a new array of ads sorted by order determined by the shuffled ad numbers array. The returned array can be used to display one or more ads in the same page.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (72.2%)
Good (80.6%)
Sufficient (72.2%)
Sufficient (77.8%)
-
-
Not sure (59.2%)
888
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
Demo Simple Demo
Manual Manual
Example Images Images required for the sample to work
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageold (2 files)
Plain text file adrotator.class.php Class Main Class File
Plain text file CHANGELOG Doc. Change Log
HTML file doc.html Doc. Documentation
Plain text file sample_ads.php Example Example (images with links)
Plain text file sample_rotate.php Example Example Usage
Plain text file sample_target.php Example Example with Targets

  Files  /  Files folder image old  
File Role Description
  Plain text file adrotator.class.php_1.0 Class Class Source
  Plain text file adrotator.class.php_1.1 Class Class Source

Download all files: adrotator.tar.gz adrotator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.