Class: I2CE Module FormStorageEntry

From IHRIS Wiki
Revision as of 23:41, 16 October 2009 by Litlfred (talk | contribs)

This article desrcibes the class I2CE_Module_FormStorageEntry.

@filesource Class I2CE_Module_FormStorageEntry

Methods

action_initialize()

Method called when the module is enabled for the first time. @param boolean -- returns true on success. false on error.

  • Signature: public function action_initialize()

addBlobValue()

  • Signature: private function addBlobValue()

addParentFormColumnToRecordTable()

Adds in the parent form column to the record table

  • Signature: protected function addParentFormColumnToRecordTable($table)
  • Parameters:
    • string $table
      the table to fixup the parent columns on. Defaulst to 'record'
      • Default Value: 'record'

createIndexOnLastEntry()

Checks to make sure there is the given index on the last_entry. If it does not exist it adds it.

  • Signature: protected function createIndexOnLastEntry($index_name,$fields)
  • Parameters:
    • string $index_name
    • mixed $fields
      Either a string or array of string, the fields we want to make an index on If the field names need backtics, you are required to provide them

dropColumnFromTable()

Drop a column from the indicated table

  • Signature: protected function dropColumnFromTable($column,$table)
  • Parameters:

upgrade()

Upgrade module method

  • Signature: public function upgrade($old_vers,$new_vers)
  • Parameters:

Inherited Fuzzy Methods

launchBackgroundProcess()

This method is inherited from I2CE_Module->launchBackgroundProcess()

launchBackgroundPHPScript()

This method is inherited from I2CE_Module->launchBackgroundPHPScript()

launchBackgroundPage()

This method is inherited from I2CE_Module->launchBackgroundPage()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()