Class Mage_Downloadable_Model_Link

Description

Downloadable link model

Located in /Downloadable/Model/Link.php (line 34)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Downloadable_Model_Link
Class Constant Summary
XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable'
XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number'
XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title'
XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window'
Method Summary
static string getBasePath ()
static string getBaseSamplePath ()
static string getBaseSampleTmpPath ()
static string getBaseTmpPath ()
static string getLinkDir ()
array getSearchableData (int $productId, int $storeId)
void _construct ()
Variables
Methods
static method getBasePath (line 91)

Retrieve Base files path

  • access: public
static string getBasePath ()
static method getBaseSamplePath (line 111)

Retrieve base sample path

  • access: public
static string getBaseSamplePath ()
static method getBaseSampleTmpPath (line 101)

Retrieve base sample temporary path

  • access: public
static string getBaseSampleTmpPath ()
static method getBaseTmpPath (line 81)

Retrieve base temporary path

  • access: public
static string getBaseTmpPath ()
static method getLinkDir (line 60)

Return link files path

  • access: public
static string getLinkDir ()
getSearchableData (line 123)

Retrieve links searchable data

  • access: public
array getSearchableData (int $productId, int $storeId)
  • int $productId
  • int $storeId
_afterSave (line 70)

Enter description here...

  • access: protected

Redefinition of:
Mage_Core_Model_Abstract::_afterSave()
Processing object after save data
_construct (line 49)

Initialize resource model

  • 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()
Class Constants
LINK_SHAREABLE_CONFIG = 2 (line 43)
LINK_SHAREABLE_NO = 0 (line 42)
LINK_SHAREABLE_YES = 1 (line 41)
XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable' (line 39)
XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number' (line 37)
XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title' (line 36)
XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window' (line 38)

Documentation generated on Fri, 11 Feb 2011 17:07:47 +0200 by phpDocumentor 1.4.3