Mage_Poll_Model_Poll_Vote Class Reference

Inheritance diagram for Mage_Poll_Model_Poll_Vote:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Protected Member Functions

 _construct ()
 _beforeSave ()


Detailed Description

Definition at line 34 of file Vote.php.


Member Function Documentation

_beforeSave (  )  [protected]

Processing object before save data

Returns:
Mage_Core_Model_Abstract

Reimplemented from Mage_Core_Model_Abstract.

Definition at line 46 of file Vote.php.

00047     {
00048         if (!$this->getVoteTime()) {
00049             $this->setVoteTime(Mage::getSingleton('core/date')->gmtDate());
00050         }
00051         return parent::_beforeSave();
00052     }

_construct (  )  [protected]

Enter description here...

Reimplemented from Varien_Object.

Definition at line 36 of file Vote.php.

00037     {
00038         $this->_init('poll/poll_vote');
00039     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:34 2009 for Magento by  doxygen 1.5.8