該構造使數據庫對象進行配置。
__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( , $ method_name ) $參數 )
__get ( 無效 的__get( ) $名 )
__set ( 無效 __set( , 美元的名稱 , ) $值 )