[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/core/include/ -> ArchiveTable.class.php (sommaire)

(pas de description)

Poids: 188 lignes (4 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ArchiveTable:: (5 méthodes):
  ArchiveTable()
  getName()
  loadName()
  getId()
  save()


Classe: ArchiveTable  - X-Ref

Class that manages with database tables a_*
It records all datas, getId associated with Names, Name from Id, etc.

ArchiveTable($type)   X-Ref
Constructor

param: string $type suffix of the table

getName($id)   X-Ref
returns name associated to int id

param: int|array $id
return: string

loadName($id)   X-Ref
Pas de description

getId($name)   X-Ref
returns id associated to string name

param: string $name
return: id

save($name)   X-Ref
Saves the name in the table
Called by this->getId when asked id<->name doesn't exist yet

param: string $name
return: id of the row inserted



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics