Joomla Platform
13.1
Documentation des API du framework Joomla Platform
Page principale
Pages associées
Espaces de nommage
Classes
Fichiers
Exemples
Liste des fichiers
Membres de fichier
Joomla Platform
Liste des choses à faire
Liste des éléments obsolètes
Espaces de nommage
Classes
Fichiers
Liste des fichiers
jplatform-13.1
compat
joomla
access
application
archive
base
cache
client
controller
crypt
data
database
driver
exporter
importer
iterator
azure.php
mysql.php
mysqli.php
oracle.php
pdo.php
postgresql.php
sqlite.php
sqlsrv.php
query
database.php
driver.php
exporter.php
factory.php
importer.php
iterator.php
query.php
date
document
environment
event
facebook
feed
filesystem
filter
form
github
google
grid
http
image
input
keychain
language
linkedin
log
mail
mediawiki
microdata
model
oauth1
oauth2
object
observable
observer
openstreetmap
profiler
registry
session
string
table
twitter
updater
uri
user
utilities
view
factory.php
legacy
phpmailer
phputf8
simplepie
cms.php
import.legacy.php
import.php
loader.php
platform.php
Membres de fichier
Exemples
•
Tout
Classes
Espaces de nommage
Fichiers
Fonctions
Variables
Pages
mysql.php
Aller à la documentation de ce fichier.
1
<?php
2
/**
3
* @package Joomla.Platform
4
* @subpackage Database
5
*
6
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
7
* @license GNU General Public License version 2 or later; see LICENSE
8
*/
9
10
defined(
'JPATH_PLATFORM'
) or die;
11
12
/**
13
* MySQL database iterator.
14
*
15
* @package Joomla.Platform
16
* @subpackage Database
17
* @see http://dev.mysql.com/doc/
18
* @since 12.1
19
*/
20
class
JDatabaseIteratorMysql
extends
JDatabaseIterator
21
{
22
/**
23
* Get the number of rows in the result set for the executed SQL given by the cursor.
24
*
25
* @return integer The number of rows in the result set.
26
*
27
* @since 12.1
28
* @see Countable::count()
29
*/
30
public
function
count()
31
{
32
return
mysql_num_rows($this->cursor);
33
}
34
35
/**
36
* Method to fetch a row from the result set cursor as an object.
37
*
38
* @return mixed Either the next row from the result set or false if there are no more rows.
39
*
40
* @since 12.1
41
*/
42
protected
function
fetchObject()
43
{
44
return
mysql_fetch_object($this->cursor, $this->
class
);
45
}
46
47
/**
48
* Method to free up the memory used for the result set.
49
*
50
* @return void
51
*
52
* @since 12.1
53
*/
54
protected
function
freeResult()
55
{
56
mysql_free_result($this->cursor);
57
}
58
}
Documentation et API générés le 16/11/2013 par l'équipe
Dev.joomla.fr
de l'
AFUJ
avec la solution