该构造使数据库对象进行配置。
__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( , 美元的名称 , ) $值 )