Class Mage_Poll_Model_Resource_Poll
Poll Mysql4 resource model
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Poll_Model_Resource_Poll
Direct known subclasses
Mage_Poll_Model_Mysql4_Poll
Package: Mage\Poll
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Poll/Model/Resource/Poll.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Poll/Model/Resource/Poll.php
protected
|
|
protected
|
|
protected
mixed
|
|
public
integer
|
|
public
array
|
|
public
boolean
|
|
public
array
|
#
getVotedPollIdsByIp( string $ipAddress, integer $pollId = false )
Get voted poll ids by specified IP-address Will return non-empty only if appropriate option in config is enabled If poll id is not empty, it will look only for records with specified value |
public
|
|
public
|
|
public
|
#
_afterSave(
Delete current poll from the table poll_store and then insert to update "poll to store" relations |
public
array
|
$_commitCallbacks
|