Class CFW_Data_Connection

Description

データベース接続

  • author: okada

Located in /Data/Connection.php (line 15)


	
			
Variable Summary
String $catalog
Zend_Config $config
String $schema
Zend_Db_Adapter_Abstract $_connection
Method Summary
unknown_type __construct ($config $config)
unknown_type beginTransaction ()
unknown_type commitTransaction ()
unknown_type connect ()
void createCommand ( $text, [ $parameters = array()])
unknown_type decode ($val $val)
unknown_type decodeVariables ($variables &$variables)
array describe (string $tableName, string $catalog, string $schema)
void disconnect ()
unknown_type encode ($val $val)
unknown_type encodeVariables ($variables &$variables)
array executeQuery (CFW_Data_Command $command)
unknown_type executeUpdate (CFW_Data_Command $command)
Zend_Db_Adapter_Abstract getDb ()
void lastIdentity ([ $table = null], unknown_type $seq)
unknown_type quote ($val $val, [$type $type = null])
unknown_type rollbackTransaction ()
void systemDate ()
Variables
String $catalog (line 30)

カタログ

String $clientCharset (line 45)

DBクライアント(つまりPHP側)

Zend_Config $config (line 20)

設定

String $schema (line 35)

スキーマ

String $serverCharset (line 40)

DBサーバー文字セット

Zend_Db_Adapter_Abstract $_connection (line 25)

実際のPHP接続

Methods
Constructor __construct (line 51)

構築

  • access: public
unknown_type __construct ($config $config)
  • $config $config
beginTransaction (line 80)

トランザクション開始

  • access: public
unknown_type beginTransaction ()
commitTransaction (line 87)

トランザクションコミット

  • access: public
unknown_type commitTransaction ()
connect (line 61)

接続

  • access: public
unknown_type connect ()
createCommand (line 237)
  • access: public
void createCommand ( $text, [ $parameters = array()])
  • $text
  • $parameters
decode (line 157)

サーバー側文字セットからクライアント文字セットにデコード

  • access: public
unknown_type decode ($val $val)
  • $val $val
decodeVariables (line 174)

サーバー側文字セットにエンコード

  • access: public
unknown_type decodeVariables ($variables &$variables)
  • $variables &$variables
describe (line 183)
  • return: <multitype:, unknown>
  • access: public
array describe (string $tableName, string $catalog, string $schema)
  • string $catalog
  • string $schema
  • string $tableName
disconnect (line 73)

接続を閉じる

  • access: public
void disconnect ()
encode (line 149)

サーバー側文字セットにエンコード

  • access: public
unknown_type encode ($val $val)
  • $val $val
encodeVariables (line 166)

サーバー側文字セットにエンコード

  • access: public
unknown_type encodeVariables ($variables &$variables)
  • $variables &$variables
executeQuery (line 101)
  • access: public
array executeQuery (CFW_Data_Command $command)
executeUpdate (line 110)
  • access: public
unknown_type executeUpdate (CFW_Data_Command $command)
getDb (line 67)
  • access: public
Zend_Db_Adapter_Abstract getDb ()
lastIdentity (line 129)

最後のID

  • access: public
void lastIdentity ([ $table = null], unknown_type $seq)
  • unknown_type $seq
  • $table
quote (line 139)

文字列引用符付加処理

  • access: public
unknown_type quote ($val $val, [$type $type = null])
  • $val $val
  • $type $type
rollbackTransaction (line 94)

トランザクションロールバック

  • access: public
unknown_type rollbackTransaction ()
systemDate (line 117)

システム日付取得

  • access: public
void systemDate ()

Documentation generated on Fri, 25 Dec 2009 21:42:38 +0900 by phpDocumentor 1.4.3