Login |  Register 
Secure your virtual life!
I regularly use your site to answer my PHP problems!
Matt
 

RocksDatabaseField Class

Description

This class represents database fields in the database for use by RocksDBO

  • property: string $name: the name of the field
  • property: mixed $value: the value of the field
  • property: bool $isPrimaryKey: if true it indicates that this is a primary key field
  • property: bool $isForiegnKey: if true it indicates that this is foriegn key field
  • property: bool $isSet: if true this indicates that this field has a value
  • author: Dominic Skinner
  • version: 0.2.1

Located in /RocksDatabaseField.php (line 15)


	
			
Method Summary
RocksDatabaseField __construct ( $name,  $isPrimaryKey)
void getParameter ()
void getQuotedValue ()
void __clone ()
void __get ( $name)
void __set ( $var,  $varValue)
void __toString ()
Methods
Constructor __construct (line 23)
RocksDatabaseField __construct ( $name,  $isPrimaryKey)
  • $name
  • $isPrimaryKey
getParameter (line 58)

This returns the field as a parameter for use in where clause. This is usually used internally.

  • access: public
void getParameter ()
getQuotedValue (line 76)

This returns the field as a parameter for use in insert or update statement. This is usually used internally.

  • access: public
void getQuotedValue ()
__clone (line 49)

This must be used to clone the database field class otherwise it can result in values being copied

  • access: public
void __clone ()
__get (line 29)
  • access: public
void __get ( $name)
  • $name
__set (line 38)
  • access: public
void __set ( $var,  $varValue)
  • $var
  • $varValue
__toString (line 112)
  • access: public
void __toString ()

No comments have been provided.
security image

Written by Dominic Skinner
Last Updated: 2009-09-22 17:51:45