Class StorableBlob

Description

This is the StorablePrimitive equivalent of Blob for the dm_blob table.

Located in /harmoni/core/dataManager/storablePrimitives/StorableBlob.class.php (line 15)

SObject
   |
   --String
      |
      --StorableStringAbstract
         |
         --StorableBlob
Method Summary
StorableBlob StorableBlob ()
void alterQuery (mixed $query)
object asABlob ()
object asAShortString ()
object asAString ()
integer insert (integer $dbID)
void value ()
void _setValue ($value $value)
Variables

Inherited Variables

Inherited from StorableStringAbstract

StorableStringAbstract::$_table

Inherited from String

String::$_string
Methods
Constructor StorableBlob (line 65)
StorableBlob StorableBlob ()
alterQuery (line 77)

Takes an existing SelectQuery and adds a table join and some columns so that when it is executed the actual data can be retrieved from the row. The join condition must be "fk_data = data_id_field", since the field "fk_data" is already part of the DataManager's table structure.

  • access: public
void alterQuery (mixed $query)
asABlob (line 99)

Convert this object to a StorableBlob

  • since: 6/9/06
  • access: public
object asABlob ()

Redefinition of:
StorableStringAbstract::asABlob()
Convert this object to a StorableBlob
asAShortString (line 121)

Convert this object to a StorableShortString

  • since: 6/9/06
  • access: public
object asAShortString ()

Redefinition of:
StorableStringAbstract::asAShortString()
Convert this object to a StorableShortString
asAString (line 110)

Convert this object to a StorableString

  • since: 6/9/06
  • access: public
object asAString ()

Redefinition of:
StorableStringAbstract::asAString()
Convert this object to a StorableString
createAndPopulate (line 32)

Takes a single database row, which would contain the columns added by alterQuery() and extracts the values to setup the object with the appropriate data.

  • static:
  • access: public
object StorableBlob createAndPopulate (array $dbRow)
  • array $dbRow
insert (line 48)

Inserts a new row into the Database with the data contained in the object.

  • return: Returns the new ID of the data stored.
  • access: public
integer insert (integer $dbID)
  • integer $dbID: The DBHandler database ID to query.

Redefinition of:
StorableStringAbstract::insert()
Inserts a new row into the Database with the data contained in the object.
value (line 82)
void value ()
_setValue (line 61)

Set the value

  • since: 7/13/05
  • access: private
void _setValue ($value $value)
  • $value $value

Inherited Methods

Inherited From StorableStringAbstract

StorableStringAbstract::asABlob()
StorableStringAbstract::asABoolean()
StorableStringAbstract::asADateTime()
StorableStringAbstract::asAFloat()
StorableStringAbstract::asAInteger()
StorableStringAbstract::asAnOKIType()
StorableStringAbstract::asAShortString()
StorableStringAbstract::asAString()
StorableStringAbstract::insert()
StorableStringAbstract::prune()
StorableStringAbstract::update()

Inherited From String

String::String()
String::fromString()
String::isEqualTo()
String::printableString()
String::withValue()

Inherited From SObject

SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()

Documentation generated on Wed, 19 Sep 2007 10:26:43 -0400 by phpDocumentor 1.3.0RC3