EC-CUBE
Public メソッド | 変数
クラス MDB2_Statement_Common
MDB2_Statement_Commonに対する継承グラフ
Inheritance graph
[凡例]

Public メソッド

 __construct (&$db, &$statement, $positions, $query, $types, $result_types, $is_manip=false, $limit=null, $offset=null)
 MDB2_Statement_Common (&$db, &$statement, $positions, $query, $types, $result_types, $is_manip=false, $limit=null, $offset=null)
 bindValue ($parameter, $value, $type=null)
 bindValueArray ($values, $types=null)
 bindParam ($parameter, &$value, $type=null)
 bindParamArray (&$values, $types=null)
execute ($values=null, $result_class=true, $result_wrap_class=false)
_execute ($result_class=true, $result_wrap_class=false)
 free ()

変数

 $db
 $statement
 $query
 $result_types
 $types
 $values = array()
 $limit
 $offset
 $is_manip

コンストラクタとデストラクタ

__construct ( &$  db,
&$  statement,
positions,
query,
types,
result_types,
is_manip = false,
limit = null,
offset = null 
)

Constructor


関数

& _execute ( result_class = true,
result_wrap_class = false 
)

Execute a prepared query statement helper method.

引数:
mixedspecifies which result class to use
mixedspecifies which class to wrap results in
戻り値:
mixed MDB2_Result or integer (affected rows) on success, a MDB2 error on failure private

MDB2_Statement_mysql, と MDB2_Statement_pgsqlで再定義されています。

bindParam ( parameter,
&$  value,
type = null 
)

Bind a variable to a parameter of a prepared query.

引数:
intthe order number of the parameter in the query statement. The order number of the first parameter is 1.
mixedvariable that is meant to be bound to specified parameter. The type of the value depends on the $type argument.
stringspecifies the type of the field
戻り値:
mixed MDB2_OK on success, a MDB2 error on failure

public

bindParamArray ( &$  values,
types = null 
)

Bind the variables of multiple a parameter of a prepared query in bulk.

引数:
arrayspecifies all necessary information for bindParam() the array elements must use keys corresponding to the number of the position of the parameter.
arrayspecifies the types of the fields
戻り値:
mixed MDB2_OK on success, a MDB2 error on failure

public

参照:
bindParam()
bindValue ( parameter,
value,
type = null 
)

Set the value of a parameter of a prepared query.

引数:
intthe order number of the parameter in the query statement. The order number of the first parameter is 1.
mixedvalue that is meant to be assigned to specified parameter. The type of the value depends on the $type argument.
stringspecifies the type of the field
戻り値:
mixed MDB2_OK on success, a MDB2 error on failure

public

bindValueArray ( values,
types = null 
)

Set the values of multiple a parameter of a prepared query in bulk.

引数:
arrayspecifies all necessary information for bindValue() the array elements must use keys corresponding to the number of the position of the parameter.
arrayspecifies the types of the fields
戻り値:
mixed MDB2_OK on success, a MDB2 error on failure

public

参照:
bindParam()
& execute ( values = null,
result_class = true,
result_wrap_class = false 
)

Execute a prepared query statement.

引数:
arrayspecifies all necessary information for bindParam() the array elements must use keys corresponding to the number of the position of the parameter.
mixedspecifies which result class to use
mixedspecifies which class to wrap results in
戻り値:
mixed MDB2_Result or integer (affected rows) on success, a MDB2 error on failure public
free ( )

Release resources allocated for the specified prepared query.

戻り値:
mixed MDB2_OK on success, a MDB2 error on failure

public

MDB2_Statement_mysql, と MDB2_Statement_pgsqlで再定義されています。

MDB2_Statement_Common ( &$  db,
&$  statement,
positions,
query,
types,
result_types,
is_manip = false,
limit = null,
offset = null 
)

PHP 4 Constructor


このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数