I regularly use your site to answer my PHP problems! "私は定期的に私のPHPの問題に答えることをあなたのサイトを使って!"
マット

RocksDBOクラス

説明

このクラスは、簡単に任意のSQLを記述することなく操作することがデータベースのテーブルを有効にします。

  • RocksRelation AddRelation(): AddRelation(string $foriegnKey, string $otherTable, string $otherTableForiegnKey, string $relationName = null, string $relationType = null) adds a relation object to the RocksDBO 方法: RocksRelationの AddRelation():AddRelation(文字列$ foriegnKey、文字列$ otherTable、文字列$ otherTableForiegnKey、文字列$ relationName =ヌル、文字列$ relationType = nullが)RocksDBOに関係のオブジェクトを追加する
  • Dominic Skinner 著者:ドミニクスキナー
  • 0.2.1 バージョン:0.2.1

) / RocksDBO.php(16行目)に位置して

メソッドの概要
__construct ( string $tableName , [ string $configFileName = null ], [ string $fieldDefinition = null ], [ string $rowValues = null ]) RocksDBO __construct文字列 $ tableNameを 、[ 文字列 $ configFileName = NULL]、[ 文字列 $ fieldDefinition = NULL]、[ 文字列 $ rowValues ​​= NULL])
Delete () ボイド を削除 ()
LoadAssociativeArrayData ( array $rowValues ) ボイド LoadAssociativeArrayData配列 $ rowValues)
Save () 無効 保存 ()を
Select () 無効 を選択します ()
__call ( ボイド __call , メソッド名$、 ) $パラメータ
__get ( ボイド __get ) $名
__set ( ボイド __set , $ nameは ) $値
の方法
(line 34 ) コンストラクタ__construct(34行目)

コンストラクタは、データベースオブジェクトを構成できるようになります。

  • public アクセス:公共
__construct ( string $tableName , [ string $configFileName = null ], [ string $fieldDefinition = null ], [ string $rowValues = null ]) RocksDBO __construct( 文字列 $ tableNameを 、[ 文字列 $ configFileName = NULL]、[ 文字列 $ fieldDefinition = NULL]、[ 文字列 $ rowValues ​​= NULL])
  • $tableName : the table this database object should be created for 文字列 $ tableName:これのデータベースオブジェクトは、テーブルに作成する必要があります
  • $configFileName : the configuration filename that should be used for this object, if null the default is used 文字列 $ configFileName:デフォルトが使用されているnullの場合、このオブジェクトに使用するコンフィギュレーションファイル名
  • $fieldDefinition : any pre-created field definitions, this is usually used internally. 文字列 $ fieldDefinition:任意のあらかじめ作成されたフィールドの定義は、これは通常、内部的に使用されます。
  • $rowValues : the values of the table row that should be loaded, this is usually used internally. 文字列 $ rowValues:ロードされるべきテーブル行の値は、これは通常、内部的に使用されます。
(line 291 ) 削除 (行291)

これは、このオブジェクトに設定したパラメータに一致する行を削除します。

  • public アクセス:公共
Delete () ボイド を削除 ()
(line 169 ) DeleteCurrentCache(169行)

削除するフィールド定義の現在のキャッシュされたバージョンは、通常内部でのみ使用できます。

  • public アクセス:公共
DeleteCurrentCache () ボイド DeleteCurrentCache()
(line 381 ) GetFieldDefinition(ライン381)

これは、フィールド定義の配列を返します。

  • public アクセス:公共
GetFieldDefinition () ボイド GetFieldDefinition()
(line 153 ) LoadAssociativeArrayData(153行)

これは、フィールドへのデータの連想配列を読み込みます。

  • public アクセス:公共
LoadAssociativeArrayData ( array $rowValues ) ボイド LoadAssociativeArrayData( 配列 $ rowValues)
  • $rowValues : the associative array to load 配列 $ rowValues:ロードするために連想配列
(line 276 ) 保存 (ライン276)

あなたはすでにそれが更新以外の場合挿入が実行されるを実行するキーの値を持っている場合、これは、DBOに対する変更を保存します。

  • public アクセス:公共
Save () 保存 ()が無効になる場合
(line 181 ) セレクト (ライン181)

これは、複数の行は、エラーがスローされます返された場合、設定されたプロパティを持つすべてのデータが選択されます。

  • public アクセス:公共
Select () 選択して 無効になる ()
(line 129 ) __call(129行)
  • public アクセス:公共
__call ( ボイド __call( , メソッド名$、 ) $パラメータ
  • $ method_nameは
  • $パラメータ
(line 437 ) __get(ライン437)
  • public アクセス:公共
__get ( ボイド __get( ) $名
  • $名
(line 446 ) __set(ライン446)
  • public アクセス:公共
__set ( ボイド __set( , $ nameは ) $値
  • $名
  • $値

コメントが提供されていない。
セキュリティイメージ

ドミニクスキナーによって書か
最終更新日:2011年10月25日午後04時00分38秒を