[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/quickstart/protected/pages/Controls/Samples/TPager/ -> Sample1.php (sommaire)

(pas de description)

Poids: 82 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Sample1:: (5 méthodes):
  getDataItemCount()
  getData()
  populateData()
  onLoad()
  pageChanged()


Classe: Sample1  - X-Ref

getDataItemCount()   X-Ref
Returns total number of data items.
In DB-driven applications, this typically requires
execution of an SQL statement with COUNT function.
Here we simply return a constant number.


getData($offset,$limit)   X-Ref
Fetches a page of data.
In DB-driven applications, this can be achieved by executing
an SQL query with LIMIT clause.


populateData()   X-Ref
Determines which page of data to be displayed and
populates the datalist with the fetched data.


onLoad($param)   X-Ref
Pas de description

pageChanged($sender,$param)   X-Ref
Event handler to the OnPageIndexChanged event of pagers.




Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7