
Public Member Functions | |
| getSearchableData ($productId, $storeId) | |
Static Public Member Functions | |
| static | getLinkDir () | 
| static | getBaseTmpPath () | 
| static | getBasePath () | 
| static | getBaseSampleTmpPath () | 
| static | getBaseSamplePath () | 
Public Attributes | |
| const | XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title' | 
| const | XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number' | 
| const | XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window' | 
| const | XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable' | 
| const | LINK_SHAREABLE_YES = 1 | 
| const | LINK_SHAREABLE_NO = 0 | 
| const | LINK_SHAREABLE_CONFIG = 2 | 
Protected Member Functions | |
| _construct () | |
| _afterSave () | |
Definition at line 34 of file Link.php.
| _afterSave | ( | ) |  [protected] | 
        
Enter description here...
Reimplemented from Mage_Core_Model_Abstract.
Definition at line 70 of file Link.php.
00071 { 00072 $this->getResource()->saveItemTitleAndPrice($this); 00073 return parent::_afterSave(); 00074 }
| _construct | ( | ) |  [protected] | 
        
Initialize resource model
Reimplemented from Varien_Object.
Definition at line 49 of file Link.php.
00050 { 00051 $this->_init('downloadable/link'); 00052 parent::_construct(); 00053 }
| static getBasePath | ( | ) |  [static] | 
        
| static getBaseSamplePath | ( | ) |  [static] | 
        
| static getBaseSampleTmpPath | ( | ) |  [static] | 
        
| static getBaseTmpPath | ( | ) |  [static] | 
        
| static getLinkDir | ( | ) |  [static] | 
        
Return link files path
Definition at line 60 of file Link.php.
00061 { 00062 return Mage::getBaseDir(); 00063 }
| getSearchableData | ( | $ | productId, | |
| $ | storeId | |||
| ) | 
Retrieve links searchable data
| int | $productId | |
| int | $storeId | 
Definition at line 123 of file Link.php.
00124 { 00125 return $this->_getResource() 00126 ->getSearchableData($productId, $storeId); 00127 }
| const LINK_SHAREABLE_CONFIG = 2 | 
| const LINK_SHAREABLE_NO = 0 | 
| const LINK_SHAREABLE_YES = 1 | 
| const XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable' | 
| const XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number' | 
| const XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title' | 
| const XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window' | 
 1.5.8