This has got to be one of the most frequently updated PHP sites, keep up the good work... 這一定是更新最頻繁的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 , 美元的名稱 ) $值
方法
(line 34 ) 構造__construct(34行)

該構造使數據庫對象進行配置。

  • public 訪問:公共
__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:應裝入的表行的值,這通常是在內部使用。
(line 291 ) 刪除 (291行)

這將刪除您在此對象上設置的參數相匹配的行。

  • public 訪問:公共
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 () 無效 保存 ()
(line 181 ) 選擇 (181行)

這將選擇與屬性設置,如果多個行,則返回一個錯誤是拋出的所有數據。

  • public 訪問:公共
Select () 無效 選擇 ()
(line 129 ) __call(129線)
  • public 訪問:公共
__call ( 無效 __call( , $ method_name ) $參數
  • $ method_name
  • 美元參數
(line 437 ) __get(437行)
  • public 訪問:公共
__get ( 無效 的__get( ) $名
  • 元名稱
(line 446 ) __set(446行)
  • public 訪問:公共
__set ( 無效 __set( , 美元的名稱 ) $值
  • 元名稱
  • 美元的價值

沒有意見已提供。
安全形象

作者由Dominic斯金納
最後更新:2011年10月25日16點00分38秒