构造使数据库对象进行配置。
__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:应装入的表行的值,这通常是在内部使用。
这将删除您已在此对象上设置的参数相匹配的行。
Delete () 无效 删除 ()
允许电流的字段定义缓存的版本将被删除,通常只在内部使用。
DeleteCurrentCache () 无效 DeleteCurrentCache()
这将返回字段定义数组。
GetFieldDefinition () 无效 GetFieldDefinition()
这数据加载到田间关联数组。
LoadAssociativeArrayData ( array $rowValues ) ,无效 LoadAssociativeArrayData( 数组 $ rowValues)
- $rowValues : the associative array to load 数组 $ rowValues:加载的关联数组
这样可以节省DBO的任何更改,如果你已经有了一个关键的价值,它将执行否则将执行插入更新。
Save () 失效 保存 ()
这将选择与属性设置,如果超过一行,则返回一个错误被抛出的所有数据。
Select () 无效 选择 ()
__call ( 调用 函数void __( , 美元METHOD_NAME ) $参数 )
__get ( 函数void __得到 ( ) $名 )
__set ( 函数void __集 ( , 美元的名称 , ) $值 )