Class PhpClasses

Description

This class visits the www.phpclasses.org and extracts package information

  • access: public
  • version: 0.6 - 2003/07/07
  • copyright: Lennart Groetzbach <lennartg@web.de> - distributed under the LGPL
  • author: Lennart Groetzbach <lennartg@web.de>

Located in Program_Root/PhpClasses.php (line 45)


	
			
Variable Summary
Integer $allTime
Integer $averageHits
String $fileCount
Integer $id
String $name
Integer $totalHits
String $url
Integer $week
Method Summary
PhpClasses PhpClasses (String $mirrorUrl, int $id)
String show ([Boolean $insertCss = true])
Variables
Integer $allTime (line 96)

all time ranking

  • access: public
Integer $averageHits (line 87)

The average hits

  • access: public
String $fileCount (line 112)

number of files in the package

  • access: public
Integer $id = -1 (line 55)

The package id is -1 when an error occurs

  • access: public
String $name (line 71)

The package name

  • access: public
Integer $totalHits (line 79)

The sum of all downloads

  • access: public
String $url (line 63)

The url to the package

  • access: public
Integer $week (line 104)

weekly ranking

  • access: public
Methods
Constructor PhpClasses (line 126)

Constructor

Extracts all the package information

  • access: public
PhpClasses PhpClasses (String $mirrorUrl, int $id)
  • String $mirrorUrl: url to one of the mirrors
  • int $id: the package id
show (line 175)

Inserts html code for an information table

Includes links, package ranking and downloads

  • return: html code
  • access: public
String show ([Boolean $insertCss = true])
  • Boolean $insertCss: if false, no css style block will be inserted

Documention generated on Mon, 7 Jul 2003 21:14:56 +0200 by phpDocumentor 1.2.1