コンストラクタは、データベースオブジェクトを構成できるようになります。
__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:ロードされるべきテーブル行の値は、これは通常、内部的に使用されます。
これは、このオブジェクトに設定したパラメータに一致する行を削除します。
Delete () ボイド を削除 ()
削除するフィールド定義の現在のキャッシュされたバージョンは、通常内部でのみ使用できます。
DeleteCurrentCache () ボイド DeleteCurrentCache()
これは、フィールド定義の配列を返します。
GetFieldDefinition () ボイド GetFieldDefinition()
これは、フィールドへのデータの連想配列を読み込みます。
LoadAssociativeArrayData ( array $rowValues ) ボイド LoadAssociativeArrayData( 配列 $ rowValues)
- $rowValues : the associative array to load 配列 $ rowValues:ロードするために連想配列
あなたはすでにそれが更新以外の場合挿入が実行されるを実行するキーの値を持っている場合、これは、DBOに対する変更を保存します。
Save () 保存 ()が無効になる場合
これは、複数の行は、エラーがスローされます返された場合、設定されたプロパティを持つすべてのデータが選択されます。
Select () 選択して 無効になる ()
__call ( ボイド __call( , メソッド名$、 ) $パラメータ )
__get ( ボイド __get( ) $名 )
__set ( ボイド __set( , $ nameは 、 ) $値 )