Mage_Catalog_Block_Product_View_Media Class Reference
List of all members.
Detailed Description
Definition at line 34 of file Media.php.
Member Function Documentation
Definition at line 57 of file Media.php.
00058 {
00059 $this->_isGalleryDisabled = true;
00060 }
Definition at line 38 of file Media.php.
00039 {
00040 if ($this->_isGalleryDisabled) {
00041 return array();
00042 }
00043 $collection = $this->getProduct()->getMediaGalleryImages();
00044 return $collection;
00045 }
| getGalleryUrl |
( |
$ |
image = null |
) |
|
Definition at line 47 of file Media.php.
00048 {
00049 $params = array('id'=>$this->getProduct()->getId());
00050 if ($image) {
00051 $params['image'] = $image->getValueId();
00052 return $this->getUrl('*/*/gallery', $params);
00053 }
00054 return $this->getUrl('*/*/gallery', $params);
00055 }
Member Data Documentation
$_isGalleryDisabled [protected] |
The documentation for this class was generated from the following file:
- app/code/core/Mage/Catalog/Block/Product/View/Media.php