Class Mage_GiftMessage_Model_Message

Description

Gift Message model

Located in /GiftMessage/Model/Message.php (line 35)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_GiftMessage_Model_Message
Variable Summary
static array $_allowedEntityTypes
Method Summary
Variables
static array $_allowedEntityTypes = array(
'order' => 'sales/order',
'order_item' => 'sales/order_item',
'order_address' => 'sales/order_address',
'quote' => 'sales/quote',
'quote_item' => 'sales/quote_item',
'quote_address' => 'sales/quote_address',
'quote_address_item' => 'sales/quote_address_item'
)
(line 42)

Allowed types of entities for using of gift messages

  • access: protected

Inherited Variables

Inherited from Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::$_cacheTag
Mage_Core_Model_Abstract::$_dataSaveAllowed
Mage_Core_Model_Abstract::$_eventObject
Mage_Core_Model_Abstract::$_eventPrefix
Mage_Core_Model_Abstract::$_isObjectNew
Mage_Core_Model_Abstract::$_resource
Mage_Core_Model_Abstract::$_resourceCollectionName
Mage_Core_Model_Abstract::$_resourceName
Methods
static method getAllowedEntityTypes (line 88)

Return list of allowed entities for using in gift messages

  • access: public
static array getAllowedEntityTypes ()
getEntityModelByType (line 63)

Return model from entity type

  • access: public
Mage_Eav_Model_Entity_Abstract getEntityModelByType (string $type)
  • string $type
isMessageEmpty (line 78)

Checks thats gift message is empty

  • access: public
boolean isMessageEmpty ()
_construct (line 52)
  • access: protected
void _construct ()

Inherited Methods

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()

Documentation generated on Fri, 11 Feb 2011 17:08:28 +0200 by phpDocumentor 1.4.3