After taking your course, my knowledge of PHP has ballooned! 你的課 ​​程後,我的PHP知識激增!”
搶劫

RocksDatabaseField類

說明

這個類代表由RocksDBO使用的數據庫的數據庫字段

  • string $name: the name of the field 屬性:字符串名稱:字段名稱
  • mixed $value: the value of the field 屬性:混合$值:字段的值
  • bool $isPrimaryKey: if true it indicates that this is a primary key field如果為true,則表明這是一個主鍵字段屬性 :BOOL美元isPrimaryKey :
  • bool $isForiegnKey: if true it indicates that this is foriegn key field如果為true,則表明這是外鍵字段屬性 :BOOL美元isForiegnKey :
  • bool $isSet: if true this indicates that this field has a value如果為true,這表明這一領域有一個值屬性 :BOOL元使用isset :
  • Dominic Skinner 作者:玫瑰斯金納
  • 0.2.1 版本:0.2.1

)位於/ RocksDatabaseField.php(第15行)

方法摘要
__construct ( RocksDatabaseField __construct , 美元的名稱 ) 美元isPrimaryKey)
getParameter () 無效 的getParameter ()
getQuotedValue () 無效 getQuotedValue ()
__clone () 無效 __clone ()
__get ( 無效 的__get ) $名
__set ( 無效 __set , $ var的 ) $ varValue)
__toString () 無效 __toString ()
方法
(line 23 ) 構造__construct(23行)
__construct ( RocksDatabaseField __construct( , 美元的名稱 ) 美元isPrimaryKey)
  • 元名稱
  • $ isPrimaryKey
(line 58 ) 的getParameter(58行)

這將返回在where子句中使用的參數字段。 這通常是在內部使用。

  • public 訪問:公共
getParameter () 無效 的getParameter()
(line 76 ) getQuotedValue(76行)

這將返回作為一個 INSERT或UPDATE語句使用參數字段。 這通常是在內部使用。

  • public 訪問:公共
getQuotedValue () 無效 getQuotedValue()
(line 49 ) __clone(49行)

這必須用於克隆的數據庫中的字段類,否則它可能會導致值被複製

  • public 訪問:公共
__clone () 無效 __clone()
(line 29 ) __get(29行)
  • public 訪問:公共
__get ( 無效 的__get( ) $名
  • 元名稱
(line 38 ) __set(38行)
  • public 訪問:公共
__set ( 無效 __set( , $ var的 ) $ varValue)
  • $ VAR
  • $ varValue
(line 112 ) __toString(112行)
  • public 訪問:公共
__toString () 無效 __toString()

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

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