Class CMS_forms_sender

Description

Class CMS_forms_sender

Represents any user's browser and session infos that have submited one formular Foreach formular, a new sender is created, even if user's datas where recorder once (Session changes)

Located in /automne/classes/modules/cms_forms/sender.php (line 30)

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

Constructor

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

Getter for any private attribute on this class

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

Getter for the ID

  • access: public
integer getID ()
getNumberOfresponseForForm (line 224)
void getNumberOfresponseForForm ( $formID)
  • $formID
getSenderForContext (line 209)

Factory, instanciate a sender from current context

CMS_forms_sender getSenderForContext ()
setAttribute (line 153)

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 165)

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:56 +0100 by phpDocumentor 1.4.3