Class CMS_forms_record

Description

Class CMS_forms_record

Represents a record (value) associated to a field Each form is made of some fields an their values posted by users

Located in /automne/classes/modules/cms_forms/record.php (line 28)

CMS_grandFather
   |
   --CMS_forms_record
Method Summary
 void __construct ([integer $id = 0])
 string getAttribute (string $name)
 integer getID ()
 void setAttribute (string $name, $value $value)
 boolean writeToPersistence ()
Methods
Constructor __construct (line 76)

Constructor

  • access: public
void __construct ([integer $id = 0])
  • integer $id
getAttribute (line 119)

Getter for any private attribute on this class

  • access: public
string getAttribute (string $name)
  • string $name
getID (line 108)

Getter for the ID

  • access: public
integer getID ()
setAttribute (line 131)

Setter for any private attribute on this class

  • access: public
void setAttribute (string $name, $value $value)
  • string $name: name of attribute to set
  • $value $value: , the value to give
writeToPersistence (line 143)

Writes the news into persistence (MySQL for now), along with base data.

  • return: true on success, false on failure
  • access: public
boolean writeToPersistence ()

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:38:10 +0100 by phpDocumentor 1.4.3