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
query
limitable.php
mysql.php
mysqli.php
oracle.php
pdo.php
postgresql.php
preparable.php
sqlazure.php
sqlite.php
sqlsrv.php
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
preparable.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
* Joomla Database Query Preparable Interface.
14
* Adds bind/unbind methods as well as a getBounded() method
15
* to retrieve the stored bounded variables on demand prior to
16
* query execution.
17
*
18
* @package Joomla.Platform
19
* @subpackage Database
20
* @since 12.1
21
*/
22
interface
JDatabaseQueryPreparable
23
{
24
/**
25
* Method to add a variable to an internal array that will be bound to a prepared SQL statement before query execution. Also
26
* removes a variable that has been bounded from the internal bounded array when the passed in value is null.
27
*
28
* @param string|integer $key The key that will be used in your SQL query to reference the value. Usually of
29
* the form ':key', but can also be an integer.
30
* @param mixed &$value The value that will be bound. The value is passed by reference to support output
31
* parameters such as those possible with stored procedures.
32
* @param integer $dataType Constant corresponding to a SQL datatype.
33
* @param integer $length The length of the variable. Usually required for OUTPUT parameters.
34
* @param array $driverOptions Optional driver options to be used.
35
*
36
* @return JDatabaseQuery
37
*
38
* @since 12.1
39
*/
40
public
function
bind($key = null, &$value = null, $dataType = PDO::PARAM_STR, $length = 0, $driverOptions = array());
41
42
/**
43
* Retrieves the bound parameters array when key is null and returns it by reference. If a key is provided then that item is
44
* returned.
45
*
46
* @param mixed $key The bounded variable key to retrieve.
47
*
48
* @return mixed
49
*
50
* @since 12.1
51
*/
52
public
function
&getBounded($key = null);
53
}
Documentation et API générés le 16/11/2013 par l'équipe
Dev.joomla.fr
de l'
AFUJ
avec la solution