Class Mage_Downloadable_Model_Sample

Description

Downloadable sample model

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

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Downloadable_Model_Sample
Class Constant Summary
XML_PATH_SAMPLES_TITLE = 'catalog/downloadable/samples_title'
Method Summary
static string getBasePath ()
static string getBaseTmpPath ()
static string getSampleDir ()
array getSearchableData (int $productId, int $storeId)
string getUrl ()
void _construct ()
Variables
Methods
static method getBasePath (line 99)

Retrieve sample files path

  • access: public
static string getBasePath ()
static method getBaseTmpPath (line 89)

Retrieve base tmp path

  • access: public
static string getBaseTmpPath ()
static method getSampleDir (line 53)

Return sample files path

  • access: public
static string getSampleDir ()
getSearchableData (line 111)

Retrieve links searchable data

  • access: public
array getSearchableData (int $productId, int $storeId)
  • int $productId
  • int $storeId
getUrl (line 75)

Retrieve sample URL

  • access: public
string getUrl ()
_afterSave (line 63)

After save process

  • access: protected

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

Initialize resource

  • 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
XML_PATH_SAMPLES_TITLE = 'catalog/downloadable/samples_title' (line 36)

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