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

  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: 32
All time rank: 455 in United States United States
Week rank: 173 Down14 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 2x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Vedanta Barooah  >  Ad Rotator  >  Download .zip .tar.gz  >  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
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2218 users
All time rank: 1564
Week users: 3 users
Week rank: 914 Up
 
  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.5%)
Sufficient (77.5%)
Sufficient (70.0%)
Sufficient (75.0%)
-
-
Not sure (58.5%)
942
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
Accessible without login Plain text file CHANGELOG Doc. Change Log
Accessible without login HTML file doc.html Doc. Documentation
Accessible without login Plain text file sample_ads.php Example Example (images with links)
Accessible without login Plain text file sample_rotate.php Example Example Usage
Accessible without login 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.