I thought I knew all about PHP until I found this website! "私はこのウェブサイトを見つけるまで、私は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 = nullの場合、文字列$ 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 , $ method_nameは ) $パラメータ
__get ( ボイド __get ) $名
__set ( ボイド __set , $ nameは ) $ value)
メソッド
(line 34 ) コンストラクタ__コンストラクト (ライン34)

コンストラクタは、データベース·オブジェクトを構成することができます。

  • public アクセス:公共
__construct ( string $tableName , [ string $configFileName = null ], [ string $fieldDefinition = null ], [ string $rowValues = null ]) RocksDBO __コンストラクト文字列 $ 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 () 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 () Save()無効
(line 181 ) 選択します (ライン181)

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

  • public アクセス:公共
Select () Select()無効
(line 129 ) __call(ライン129)
  • public アクセス:公共
__call ( ボイド __コール , $ method_nameは ) $パラメータ
  • $ method_nameを
  • $パラメータ
(line 437 ) __get(ライン437)
  • public アクセス:公共
__get ( ボイド __取得 ) $名
  • $ nameに
(line 446 ) __set(ライン446)
  • public アクセス:公共
__set ( ボイド _セット , $ nameは ) $ value)
  • $ nameに
  • $値

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

ドミニクスキナーによって書かれた
最終更新日:2011年10月25日午前16時○○分38秒を