Skip to Store Area:

 

Christmas

Items 31 to 40 of 44 total Page:
  1. Previous
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next
Show per page
View as: List  Grid  Sort by: Best Value| Name| Price
Sulky Santa And The Boy Who Didn't Believe
           
/**
 * Catalog product model
 *
 * @category   Mage
 * @package    Mage_Catalog
 * @author      Magento Core Team 
 */
Object of class [  class Mage_Catalog_Model_Product extends Mage_Catalog_Model_Abstract ] {
  @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 28-1405

  - Constants [2] {
    Constant [ string CACHE_TAG ] { catalog_product }
    Constant [ integer DEFAULT_STORE_ID ] { 0 }
  }

  - Static properties [4] {
    Property [ protected static $_url ]
    Property [ protected static $_urlRewrite ]
    Property [ protected static $_underscoreCache ]
    Property [ protected static $_camelizeCache ]
  }

  - Static methods [0] {
  }

  - Properties [19] {
    Property [  protected $_cacheTag ]
    Property [  protected $_eventPrefix ]
    Property [  protected $_eventObject ]
    Property [  protected $_canAffectOptions ]
    Property [  protected $_typeInstance ]
    Property [  protected $_linkInstance ]
    Property [  protected $_customOptions ]
    Property [  protected $_urlModel ]
    Property [  protected $_errors ]
    Property [  protected $_optionInstance ]
    Property [  protected $_options ]
    Property [  protected $_defaultValues ]
    Property [  protected $_resourceName ]
    Property [  protected $_resource ]
    Property [  protected $_resourceCollectionName ]
    Property [  protected $_data ]
    Property [  protected $_origData ]
    Property [  protected $_idFieldName ]
    Property [  protected $_isDeleted ]
  }

  - Dynamic properties [0] {
  }

  - Methods [155] {
    /**
     * Initialize resources
     */
    Method [  protected method _construct ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 71 - 75
    }

    Method [  public method validate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 77 - 81
    }

    Method [  public method getName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 83 - 86
    }

    /**
     * Get product price throught type instance
     *
     * @return unknown
     */
    Method [  public method getPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 93 - 96
    }

    Method [  public method getTypeId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 98 - 101
    }

    Method [  public method getStatus ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 103 - 106
    }

    /**
     * Retrieve type instance
     *
     * Type instance implement type depended logic
     *
     * @return  Mage_Catalog_Model_Product_Type_Abstract
     */
    Method [  public method getTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 115 - 121
    }

    Method [  public method setTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 123 - 127

      - Parameters [1] {
        Parameter #0 [  $instance ]
      }
    }

    /**
     * Retrieve type instance
     *
     * @return  Mage_Catalog_Model_Product_Link
     */
    Method [  public method getLinkInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 134 - 140
    }

    /**
     * Retrive product id by sku
     *
     * @param   string $sku
     * @return  integer
     */
    Method [  public method getIdBySku ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 148 - 151

      - Parameters [1] {
        Parameter #0 [  $sku ]
      }
    }

    /**
     * Retrieve product category id
     *
     * @return int
     */
    Method [  public method getCategoryId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 158 - 164
    }

    /**
     * Retrieve product category
     *
     * @return Mage_Catalog_Model_Category
     */
    Method [  public method getCategory ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 171 - 179
    }

    Method [  public method setCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 181 - 195

      - Parameters [1] {
        Parameter #0 [  $ids ]
      }
    }

    Method [  public method getCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 197 - 210
    }

    /**
     * Retrieve product categories
     *
     * @return Varien_Data_Collection
     */
    Method [  public method getCategoryCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 217 - 220
    }

    /**
     * Retrieve product websites identifiers
     *
     * @return array
     */
    Method [  public method getWebsiteIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 227 - 234
    }

    Method [  public method getStoreIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 236 - 249
    }

    /**
     * Retrieve product attributes
     *
     * if $groupId is null - retrieve all product attributes
     *
     * @param   int $groupId
     * @return  array
     */
    Method [  public method getAttributes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 259 - 275

      - Parameters [2] {
        Parameter #0 [  $groupId = NULL ]
        Parameter #1 [  $skipSuper = false ]
      }
    }

    /**
     * Check product options and type options and save them, too
     *
     */
    Method [  protected method _beforeSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 281 - 329
    }

    /**
     * Check/set if options can be affected when saving product
     * If value specified, it will be set.
     *
     * @param bool $value
     * @return bool
     */
    Method [  public method canAffectOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 338 - 344

      - Parameters [1] {
        Parameter #0 [  $value = NULL ]
      }
    }

    /**
     * Saving product type related data
     *
     * @return unknown
     */
    Method [  protected method _afterSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 351 - 370
    }

    Method [  protected method _beforeDelete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 372 - 378
    }

    /**
     * Substract this product from all quotes quantities
     *
     * @throws Exception
     */
    Method [  protected method _substractQtyFromQuotes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 385 - 409
    }

    Method [  protected method _afterLoad ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 411 - 420
    }

    Method [  public method cleanCache ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 422 - 425
    }

    Method [  public method getPriceModel ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 427 - 430
    }

    /**
     * Get product tier price by qty
     *
     * @param   double $qty
     * @return  double
     */
    Method [  public method getTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 438 - 441

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Count how many tier prices we have for the product
     *
     * @return  int
     */
    Method [  public method getTierPriceCount ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 448 - 451
    }

    /**
     * Get formated by currency tier price
     *
     * @param   double $qty
     * @return  array || double
     */
    Method [  public method getFormatedTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 459 - 462

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Get formated by currency product price
     *
     * @return  array || double
     */
    Method [  public method getFormatedPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 469 - 472
    }

    /**
     * Get product final price
     *
     * @param double $qty
     * @return double
     */
    Method [  public method getFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 480 - 483

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    Method [  public method getCalculatedFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 485 - 488
    }

    Method [  public method getMinimalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 490 - 493
    }

    Method [  public method getSpecialPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 495 - 498
    }

    Method [  public method getSpecialFromDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 500 - 503
    }

    Method [  public method getSpecialToDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 505 - 508
    }

    /**
     * Retrieve array of related roducts
     *
     * @return array
     */
    Method [  public method getRelatedProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 519 - 530
    }

    /**
     * Retrieve related products identifiers
     *
     * @return array
     */
    Method [  public method getRelatedProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 537 - 547
    }

    /**
     * Retrieve collection related product
     */
    Method [  public method getRelatedProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 552 - 559
    }

    /**
     * Retrieve array of up sell products
     *
     * @return array
     */
    Method [  public method getUpSellProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 566 - 576
    }

    /**
     * Retrieve up sell products identifiers
     *
     * @return array
     */
    Method [  public method getUpSellProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 583 - 593
    }

    /**
     * Retrieve collection up sell product
     */
    Method [  public method getUpSellProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 598 - 605
    }

    /**
     * Retrieve array of cross sell roducts
     *
     * @return array
     */
    Method [  public method getCrossSellProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 612 - 622
    }

    /**
     * Retrieve cross sell products identifiers
     *
     * @return array
     */
    Method [  public method getCrossSellProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 629 - 639
    }

    /**
     * Retrieve collection cross sell product
     */
    Method [  public method getCrossSellProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 644 - 651
    }

    /**
     * Retrive attributes for media gallery
     *
     * @return array
     */
    Method [  public method getMediaAttributes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 661 - 673
    }

    /**
     * Retrive media gallery images
     *
     * @return Varien_Data_Collection
     */
    Method [  public method getMediaGalleryImages ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 680 - 697
    }

    /**
     * Add image to media gallery
     *
     * @param string        $file              file path of image in file system
     * @param string|array  $mediaAttribute    code of attribute with type 'media_image',
     *                                         leave blank if image should be only in gallery
     * @param boolean       $move              if true, it will move source file
     * @param boolean       $exclude           mark image as disabled in product page view
     */
    Method [  public method addImageToMediaGallery ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 708 - 718

      - Parameters [4] {
        Parameter #0 [  $file ]
        Parameter #1 [  $mediaAttribute = NULL ]
        Parameter #2 [  $move = false ]
        Parameter #3 [  $exclude = true ]
      }
    }

    /**
     * Retrive product media config
     *
     * @return Mage_Catalog_Model_Product_Media_Config
     */
    Method [  public method getMediaConfig ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 725 - 728
    }

    /**
     * Create duplicate
     *
     * @return unknown
     */
    Method [  public method duplicate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 735 - 775
    }

    Method [  public method isSuperGroup ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 777 - 780
    }

    Method [  public method isSuperConfig ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 782 - 785
    }

    /**
     * Check is product grouped
     *
     * @return bool
     */
    Method [  public method isGrouped ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 791 - 794
    }

    /**
     * Check is product configurable
     *
     * @return bool
     */
    Method [  public method isConfigurable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 801 - 804
    }

    Method [  public method isSuper ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 806 - 809
    }

    Method [  public method getVisibleInCatalogStatuses ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 811 - 814
    }

    Method [  public method isVisibleInCatalog ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 816 - 819
    }

    Method [  public method getVisibleInSiteVisibilities ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 821 - 824
    }

    Method [  public method isVisibleInSiteVisibility ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 826 - 829
    }

    /**
     * Check is product available for sale
     *
     * @return bool
     */
    Method [  public method isSalable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 836 - 839
    }

    Method [  public method isSaleable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 841 - 844
    }

    Method [  public method isInStock ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 846 - 849
    }

    Method [  public method getAttributeText ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 851 - 857

      - Parameters [1] {
        Parameter #0 [  $attributeCode ]
      }
    }

    Method [  public method getCustomDesignDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 859 - 866
    }

    /**
     * Get product url
     *
     * @return string
     */
    Method [  public method getProductUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 873 - 876
    }

    Method [  public method formatUrlKey ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 878 - 881

      - Parameters [1] {
        Parameter #0 [  $str ]
      }
    }

    Method [  public method getUrlPath ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 883 - 886

      - Parameters [1] {
        Parameter #0 [  $category = NULL ]
      }
    }

    Method [  public method getImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 888 - 891
    }

    Method [  public method getCustomImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 893 - 896

      - Parameters [3] {
        Parameter #0 [  $size ]
        Parameter #1 [  $extension = NULL ]
        Parameter #2 [  $watermark = NULL ]
      }
    }

    Method [  public method getSmallImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 898 - 901
    }

    Method [  public method getCustomSmallImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 903 - 906

      - Parameters [3] {
        Parameter #0 [  $size ]
        Parameter #1 [  $extension = NULL ]
        Parameter #2 [  $watermark = NULL ]
      }
    }

    Method [  public method getThumbnailUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 908 - 911
    }

    Method [  public method importFromTextArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 913 - 1021

      - Parameters [1] {
        Parameter #0 [  array $row ]
      }
    }

    Method [  public method importFromTextArraySilently ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1023 - 1131

      - Parameters [1] {
        Parameter #0 [  array $row ]
      }
    }

    Method [  public method addError ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1133 - 1136

      - Parameters [1] {
        Parameter #0 [  $error ]
      }
    }

    Method [  public method getErrors ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1138 - 1141
    }

    Method [  public method resetErrors ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1143 - 1146
    }

    Method [  public method printError ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1148 - 1160

      - Parameters [2] {
        Parameter #0 [  $error ]
        Parameter #1 [  $line = NULL ]
      }
    }

    Method [  public method addAttributeUpdate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1162 - 1173

      - Parameters [3] {
        Parameter #0 [  $code ]
        Parameter #1 [  $value ]
        Parameter #2 [  $store ]
      }
    }

    Method [  public method toArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1175 - 1183

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    Method [  public method fromArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1185 - 1196

      - Parameters [1] {
        Parameter #0 [  $data ]
      }
    }

    Method [  public method loadParentProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1198 - 1201
    }

    Method [  public method delete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1203 - 1208
    }

    Method [  public method getRequestPath ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1210 - 1213
    }

    /**
     * Custom function for other modules
     */
    Method [  public method getGiftMessageAvailable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1219 - 1222
    }

    Method [  public method getRatingSummary ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1224 - 1227
    }

    /**
     * Check is product composite
     *
     * @return bool
     */
    Method [  public method isComposite ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1234 - 1237
    }

    /**
     * Retrieve sku through type instance
     *
     * @return string
     */
    Method [  public method getSku ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1244 - 1247
    }

    /**
     * Retrieve weight throught type instance
     *
     * @return unknown
     */
    Method [  public method getWeight ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1254 - 1257
    }

    /**
     * Retrieve option instance
     *
     * @return Mage_Catalog_Model_Product_Option
     */
    Method [  public method getOptionInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1264 - 1270
    }

    /**
     * Retrieve options collection of product
     *
     * @return Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option_Collection
     */
    Method [  public method getProductOptionsCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1277 - 1283
    }

    /**
     * Add option to array of product options
     *
     * @param Mage_Catalog_Model_Product_Option $option
     * @return Mage_Catalog_Model_Product
     */
    Method [  public method addOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1291 - 1295

      - Parameters [1] {
        Parameter #0 [  Mage_Catalog_Model_Product_Option $option ]
      }
    }

    /**
     * Get option from options array of product by given option id
     *
     * @param int $optionId
     * @return Mage_Catalog_Model_Product_Option | null
     */
    Method [  public method getOptionById ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1303 - 1310

      - Parameters [1] {
        Parameter #0 [  $optionId ]
      }
    }

    /**
     * Get all options of product
     *
     * @return array
     */
    Method [  public method getOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1317 - 1320
    }

    /**
     * Retrieve is a virtual product
     *
     * @return bool
     */
    Method [  public method getIsVirtual ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1327 - 1330
    }

    /**
     * Add custom option information to product
     *
     * @param   string $code
     * @param   mixed $value
     * @param   int $productId
     * @return  Mage_Catalog_Model_Product
     */
    Method [  public method addCustomOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1340 - 1350

      - Parameters [3] {
        Parameter #0 [  $code ]
        Parameter #1 [  $value ]
        Parameter #2 [  $product = NULL ]
      }
    }

    Method [  public method setCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1352 - 1355

      - Parameters [1] {
        Parameter #0 [  array $options ]
      }
    }

    /**
     * Get all custom options of the product
     *
     * @return array
     */
    Method [  public method getCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1362 - 1365
    }

    /**
     * Get product custom option info
     *
     * @param   string $code
     * @return  array
     */
    Method [  public method getCustomOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1373 - 1379

      - Parameters [1] {
        Parameter #0 [  $code ]
      }
    }

    /**
     * Checks if there custom option for this product
     *
     * @return bool
     */
    Method [  public method hasCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1386 - 1393
    }

    /**
     * Check availability display product in category
     *
     * @param   int $categoryId
     * @return  bool
     */
    Method [  public method canBeShowInCategory ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1401 - 1404

      - Parameters [1] {
        Parameter #0 [  $categoryId ]
      }
    }

    /**
     * Get collection instance
     *
     * @return object
     */
    Method [  public method getResourceCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 51 - 56
    }

    Method [  public method loadByAttribute ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 58 - 68

      - Parameters [2] {
        Parameter #0 [  $attribute ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * Retrieve sore object
     *
     * @return Mage_Core_Model_Store
     */
    Method [  public method getStore ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 75 - 78
    }

    /**
     * Retrieve all store ids of object current website
     *
     * @return unknown
     */
    Method [  public method getWebsiteStoreIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 85 - 88
    }

    /**
     * Adding attribute code and value to default value registry
     *
     * Default value existing is flag for using store value in data
     *
     * @param   string $attributeCode
     * @return  Mage_Catalog_Model_Abstract
     */
    Method [  public method setAttributeDefaultValue ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 98 - 102

      - Parameters [2] {
        Parameter #0 [  $attributeCode ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * Retrieve default value for attribute code
     *
     * @param   string $attributeCode
     * @return  mixed
     */
    Method [  public method getAttributeDefaultValue ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 110 - 113

      - Parameters [1] {
        Parameter #0 [  $attributeCode ]
      }
    }

    /**
     * Standard model initialization
     *
     * @param string $resourceModel
     * @param string $idFieldName
     * @return Mage_Core_Model_Abstract
     */
    Method [  protected method _init ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 84 - 87

      - Parameters [1] {
        Parameter #0 [  $resourceModel ]
      }
    }

    /**
     * Set resource names
     *
     * If collection name is ommited, resource name will be used with _collection appended
     *
     * @param string $resourceName
     * @param string|null $resourceCollectionName
     */
    Method [  protected method _setResourceModel ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 97 - 104

      - Parameters [2] {
        Parameter #0 [  $resourceName ]
        Parameter #1 [  $resourceCollectionName = NULL ]
      }
    }

    /**
     * Get resource instance
     *
     * @return Mage_Core_Model_Mysql4_Abstract
     */
    Method [  protected method _getResource ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 111 - 118
    }

    /**
     * Retrieve identifier field name for model
     *
     * @return string
     */
    Method [  public method getIdFieldName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 126 - 133
    }

    /**
     * Retrieve model object identifier
     *
     * @return mixed
     */
    Method [  public method getId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 140 - 147
    }

    /**
     * Declare model object identifier value
     *
     * @param   mixed $id
     * @return  Mage_Core_Model_Abstract
     */
    Method [  public method setId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 155 - 163

      - Parameters [1] {
        Parameter #0 [  $id ]
      }
    }

    /**
     * Retrieve model resource name
     *
     * @return string
     */
    Method [  public method getResourceName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 170 - 173
    }

    Method [  public method getCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 188 - 191
    }

    /**
     * Load object data
     *
     * @param   integer $id
     * @return  Mage_Core_Model_Abstract
     */
    Method [  public method load ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 199 - 205

      - Parameters [2] {
        Parameter #0 [  $id ]
        Parameter #1 [  $field = NULL ]
      }
    }

    Method [  public method afterLoad ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 219 - 223
    }

    /**
     * Save object data
     *
     * @return Mage_Core_Model_Abstract
     */
    Method [  public method save ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 230 - 245
    }

    /**
     * Safeguard func that will check, if we are in admin area
     *
     * @throws Mage_Core_Exception
     */
    Method [  protected method _protectFromNonAdmin ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 321 - 326
    }

    /**
     * Processing object after delete data
     *
     * @return Mage_Core_Model_Abstract
     */
    Method [  protected method _afterDelete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 333 - 347
    }

    /**
     * Retrieve model resource
     */
    Method [  public method getResource ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 352 - 355
    }

    Method [  public method getEntityId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 357 - 360
    }

    /**
     * Constructor
     *
     * By default is looking for first argument as array and assignes it as object attributes
     * This behaviour may change in child classes
     *
     */
    Method [  public method __construct ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 76 - 85
    }

    /**
     * Enter description here...
     *
     * @param boolean $isDeleted
     * @return boolean
     */
    Method [  public method isDeleted ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 102 - 109

      - Parameters [1] {
        Parameter #0 [  $isDeleted = NULL ]
      }
    }

    /**
     * set name of object id field
     *
     * @param   string $name
     * @return  Varien_Object
     */
    Method [  public method setIdFieldName ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 117 - 121

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    /**
     * Add data to the object.
     *
     * Retains previous data in the object.
     *
     * @param array $arr
     * @return Varien_Object
     */
    Method [  public method addData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 172 - 178

      - Parameters [1] {
        Parameter #0 [  array $arr ]
      }
    }

    /**
     * Overwrite data in the object.
     *
     * $key can be string or array.
     * If $key is string, the attribute value will be overwritten by $value
     *
     * If $key is an array, it will overwrite all the data in the object.
     *
     * $isChanged will specify if the object needs to be saved after an update.
     *
     * @param string|array $key
     * @param mixed $value
     * @param boolean $isChanged
     * @return Varien_Object
     */
    Method [  public method setData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 195 - 203

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $value = NULL ]
      }
    }

    /**
     * Unset data from the object.
     *
     * $key can be a string only. Array will be ignored.
     *
     * $isChanged will specify if the object needs to be saved after an update.
     *
     * @param string $key
     * @param boolean $isChanged
     * @return Varien_Object
     */
    Method [  public method unsetData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 216 - 224

      - Parameters [1] {
        Parameter #0 [  $key = NULL ]
      }
    }

    /**
     * Retrieves data from the object
     *
     * If $key is empty will return all the data as an array
     * Otherwise it will return value of the attribute specified by $key
     *
     * If $index is specified it will assume that attribute data is an array
     * and retrieve corresponding member.
     *
     * @param string $key
     * @param string|int $index
     * @param mixed $default
     * @return mixed
     */
    Method [  public method getData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 240 - 295

      - Parameters [2] {
        Parameter #0 [  $key = '' ]
        Parameter #1 [  $index = NULL ]
      }
    }

    /**
     * Get value from _data array without parse key
     *
     * @param   string $key
     * @return  mixed
     */
    Method [  protected method _getData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 303 - 306

      - Parameters [1] {
        Parameter #0 [  $key ]
      }
    }

    Method [  public method setDataUsingMethod ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 308 - 313

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $args = Array ]
      }
    }

    Method [  public method getDataUsingMethod ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 315 - 319

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $args = NULL ]
      }
    }

    /**
     * Fast get data or set default if value is not available
     *
     * @param string $key
     * @param mixed $default
     * @return mixed
     */
    Method [  public method getDataSetDefault ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 328 - 334

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $default ]
      }
    }

    /**
     * If $key is empty, checks whether there's any data in the object
     * Otherwise checks if the specified attribute is set.
     *
     * @param string $key
     * @return boolean
     */
    Method [  public method hasData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 343 - 349

      - Parameters [1] {
        Parameter #0 [  $key = '' ]
      }
    }

    /**
     * Convert object attributes to array
     *
     * @param  array $arrAttributes array of required attributes
     * @return array
     */
    Method [  public method __toArray ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 357 - 373

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Set required array elements
     *
     * @param   array $arr
     * @param   array $elements
     * @return  array
     */
    Method [  protected method _prepareArray ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 393 - 401

      - Parameters [2] {
        Parameter #0 [  &$arr ]
        Parameter #1 [  array $elements = Array ]
      }
    }

    /**
     * Convert object attributes to XML
     *
     * @param  array $arrAttributes array of required attributes
     * @param string $rootName name of the root element
     * @return string
     */
    Method [  protected method __toXml ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 410 - 433

      - Parameters [4] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $rootName = 'item' ]
        Parameter #2 [  $addOpenTag = false ]
        Parameter #3 [  $addCdata = true ]
      }
    }

    /**
     * Public wrapper for __toXml
     *
     * @param array $arrAttributes
     * @param string $rootName
     * @return string
     */
    Method [  public method toXml ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 442 - 445

      - Parameters [4] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $rootName = 'item' ]
        Parameter #2 [  $addOpenTag = false ]
        Parameter #3 [  $addCdata = true ]
      }
    }

    /**
     * Convert object attributes to JSON
     *
     * @param  array $arrAttributes array of required attributes
     * @return string
     */
    Method [  protected method __toJson ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 453 - 458

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Public wrapper for __toJson
     *
     * @param array $arrAttributes
     * @return string
     */
    Method [  public method toJson ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 466 - 469

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Convert object attributes to string
     *
     * @param  array  $arrAttributes array of required attributes
     * @param  string $valueSeparator
     * @return string
     */
    Method [  public method __toString ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 478 - 482

      - Parameters [2] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $valueSeparator = ',' ]
      }
    }

    /**
     * Public wrapper for __toString
     *
     * Will use $format as an template and substitute {{key}} for attributes
     *
     * @param string $format
     * @return string
     */
    Method [  public method toString ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 492 - 504

      - Parameters [1] {
        Parameter #0 [  $format = '' ]
      }
    }

    /**
     * Set/Get attribute wrapper
     *
     * @param   string $method
     * @param   array $args
     * @return  mixed
     */
    Method [  public method __call ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 513 - 544

      - Parameters [2] {
        Parameter #0 [  $method ]
        Parameter #1 [  $args ]
      }
    }

    /**
     * Attribute getter (deprecated)
     *
     * @param string $var
     * @return mixed
     */
    Method [  public method __get ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 553 - 557

      - Parameters [1] {
        Parameter #0 [  $var ]
      }
    }

    /**
     * Attribute setter (deprecated)
     *
     * @param string $var
     * @param mixed $value
     */
    Method [  public method __set ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 565 - 570

      - Parameters [2] {
        Parameter #0 [  $var ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * checks whether the object is empty
     *
     * @return boolean
     */
    Method [  public method isEmpty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 577 - 583
    }

    /**
     * Converts field names for setters and geters
     *
     * $this->setMyField($value) === $this->setData('my_field', $value)
     * Uses cache to eliminate unneccessary preg_replace
     *
     * @param string $name
     * @return string
     */
    Method [  protected method _underscore ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 594 - 604

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    Method [  protected method _camelize ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 606 - 609

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    /**
     * serialize object attributes
     *
     * @param   array $attributes
     * @param   string $valueSeparator
     * @param   string $fieldSeparator
     * @param   string $quote
     * @return  string
     */
    Method [  public method serialize ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 620 - 635

      - Parameters [4] {
        Parameter #0 [  $attributes = Array ]
        Parameter #1 [  $valueSeparator = '=' ]
        Parameter #2 [  $fieldSeparator = ' ' ]
        Parameter #3 [  $quote = '"' ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $key
     * @return mixed
     */
    Method [  public method getOrigData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 643 - 649

      - Parameters [1] {
        Parameter #0 [  $key = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $key
     * @param mixed $data
     * @return Varien_Object
     */
    Method [  public method setOrigData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 658 - 666

      - Parameters [2] {
        Parameter #0 [  $key = NULL ]
        Parameter #1 [  $data = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @return boolean
     */
    Method [  public method dataHasChangedFor ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 674 - 679

      - Parameters [1] {
        Parameter #0 [  $field ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @return boolean
     */
    Method [  public method isDirty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 687 - 696

      - Parameters [1] {
        Parameter #0 [  $field = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @param boolean $flag
     * @return Varien_Object
     */
    Method [  public method flagDirty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 705 - 719

      - Parameters [2] {
        Parameter #0 [  $field ]
        Parameter #1 [  $flag = true ]
      }
    }

    Method [  public method debug ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 731 - 752

      - Parameters [2] {
        Parameter #0 [  $data = NULL ]
        Parameter #1 [  &$objects = Array ]
      }
    }
  }
}
Add to Cart
As well as seven highly original new songs thatll make your ears want to dance, this musical play features dialogue that sparkles with warmth, wonder and wit. Learn More
The Christmas Crisis
           
/**
 * Catalog product model
 *
 * @category   Mage
 * @package    Mage_Catalog
 * @author      Magento Core Team 
 */
Object of class [  class Mage_Catalog_Model_Product extends Mage_Catalog_Model_Abstract ] {
  @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 28-1405

  - Constants [2] {
    Constant [ string CACHE_TAG ] { catalog_product }
    Constant [ integer DEFAULT_STORE_ID ] { 0 }
  }

  - Static properties [4] {
    Property [ protected static $_url ]
    Property [ protected static $_urlRewrite ]
    Property [ protected static $_underscoreCache ]
    Property [ protected static $_camelizeCache ]
  }

  - Static methods [0] {
  }

  - Properties [19] {
    Property [  protected $_cacheTag ]
    Property [  protected $_eventPrefix ]
    Property [  protected $_eventObject ]
    Property [  protected $_canAffectOptions ]
    Property [  protected $_typeInstance ]
    Property [  protected $_linkInstance ]
    Property [  protected $_customOptions ]
    Property [  protected $_urlModel ]
    Property [  protected $_errors ]
    Property [  protected $_optionInstance ]
    Property [  protected $_options ]
    Property [  protected $_defaultValues ]
    Property [  protected $_resourceName ]
    Property [  protected $_resource ]
    Property [  protected $_resourceCollectionName ]
    Property [  protected $_data ]
    Property [  protected $_origData ]
    Property [  protected $_idFieldName ]
    Property [  protected $_isDeleted ]
  }

  - Dynamic properties [0] {
  }

  - Methods [155] {
    /**
     * Initialize resources
     */
    Method [  protected method _construct ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 71 - 75
    }

    Method [  public method validate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 77 - 81
    }

    Method [  public method getName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 83 - 86
    }

    /**
     * Get product price throught type instance
     *
     * @return unknown
     */
    Method [  public method getPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 93 - 96
    }

    Method [  public method getTypeId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 98 - 101
    }

    Method [  public method getStatus ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 103 - 106
    }

    /**
     * Retrieve type instance
     *
     * Type instance implement type depended logic
     *
     * @return  Mage_Catalog_Model_Product_Type_Abstract
     */
    Method [  public method getTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 115 - 121
    }

    Method [  public method setTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 123 - 127

      - Parameters [1] {
        Parameter #0 [  $instance ]
      }
    }

    /**
     * Retrieve type instance
     *
     * @return  Mage_Catalog_Model_Product_Link
     */
    Method [  public method getLinkInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 134 - 140
    }

    /**
     * Retrive product id by sku
     *
     * @param   string $sku
     * @return  integer
     */
    Method [  public method getIdBySku ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 148 - 151

      - Parameters [1] {
        Parameter #0 [  $sku ]
      }
    }

    /**
     * Retrieve product category id
     *
     * @return int
     */
    Method [  public method getCategoryId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 158 - 164
    }

    /**
     * Retrieve product category
     *
     * @return Mage_Catalog_Model_Category
     */
    Method [  public method getCategory ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 171 - 179
    }

    Method [  public method setCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 181 - 195

      - Parameters [1] {
        Parameter #0 [  $ids ]
      }
    }

    Method [  public method getCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 197 - 210
    }

    /**
     * Retrieve product categories
     *
     * @return Varien_Data_Collection
     */
    Method [  public method getCategoryCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 217 - 220
    }

    /**
     * Retrieve product websites identifiers
     *
     * @return array
     */
    Method [  public method getWebsiteIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 227 - 234
    }

    Method [  public method getStoreIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 236 - 249
    }

    /**
     * Retrieve product attributes
     *
     * if $groupId is null - retrieve all product attributes
     *
     * @param   int $groupId
     * @return  array
     */
    Method [  public method getAttributes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 259 - 275

      - Parameters [2] {
        Parameter #0 [  $groupId = NULL ]
        Parameter #1 [  $skipSuper = false ]
      }
    }

    /**
     * Check product options and type options and save them, too
     *
     */
    Method [  protected method _beforeSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 281 - 329
    }

    /**
     * Check/set if options can be affected when saving product
     * If value specified, it will be set.
     *
     * @param bool $value
     * @return bool
     */
    Method [  public method canAffectOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 338 - 344

      - Parameters [1] {
        Parameter #0 [  $value = NULL ]
      }
    }

    /**
     * Saving product type related data
     *
     * @return unknown
     */
    Method [  protected method _afterSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 351 - 370
    }

    Method [  protected method _beforeDelete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 372 - 378
    }

    /**
     * Substract this product from all quotes quantities
     *
     * @throws Exception
     */
    Method [  protected method _substractQtyFromQuotes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 385 - 409
    }

    Method [  protected method _afterLoad ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 411 - 420
    }

    Method [  public method cleanCache ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 422 - 425
    }

    Method [  public method getPriceModel ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 427 - 430
    }

    /**
     * Get product tier price by qty
     *
     * @param   double $qty
     * @return  double
     */
    Method [  public method getTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 438 - 441

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Count how many tier prices we have for the product
     *
     * @return  int
     */
    Method [  public method getTierPriceCount ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 448 - 451
    }

    /**
     * Get formated by currency tier price
     *
     * @param   double $qty
     * @return  array || double
     */
    Method [  public method getFormatedTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 459 - 462

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Get formated by currency product price
     *
     * @return  array || double
     */
    Method [  public method getFormatedPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 469 - 472
    }

    /**
     * Get product final price
     *
     * @param double $qty
     * @return double
     */
    Method [  public method getFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 480 - 483

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    Method [  public method getCalculatedFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 485 - 488
    }

    Method [  public method getMinimalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 490 - 493
    }

    Method [  public method getSpecialPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 495 - 498
    }

    Method [  public method getSpecialFromDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 500 - 503
    }

    Method [  public method getSpecialToDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 505 - 508
    }

    /**
     * Retrieve array of related roducts
     *
     * @return array
     */
    Method [  public method getRelatedProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 519 - 530
    }

    /**
     * Retrieve related products identifiers
     *
     * @return array
     */
    Method [  public method getRelatedProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 537 - 547
    }

    /**
     * Retrieve collection related product
     */
    Method [  public method getRelatedProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 552 - 559
    }

    /**
     * Retrieve array of up sell products
     *
     * @return array
     */
    Method [  public method getUpSellProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 566 - 576
    }

    /**
     * Retrieve up sell products identifiers
     *
     * @return array
     */
    Method [  public method getUpSellProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 583 - 593
    }

    /**
     * Retrieve collection up sell product
     */
    Method [  public method getUpSellProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 598 - 605
    }

    /**
     * Retrieve array of cross sell roducts
     *
     * @return array
     */
    Method [  public method getCrossSellProducts ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 612 - 622
    }

    /**
     * Retrieve cross sell products identifiers
     *
     * @return array
     */
    Method [  public method getCrossSellProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 629 - 639
    }

    /**
     * Retrieve collection cross sell product
     */
    Method [  public method getCrossSellProductCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 644 - 651
    }

    /**
     * Retrive attributes for media gallery
     *
     * @return array
     */
    Method [  public method getMediaAttributes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 661 - 673
    }

    /**
     * Retrive media gallery images
     *
     * @return Varien_Data_Collection
     */
    Method [  public method getMediaGalleryImages ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 680 - 697
    }

    /**
     * Add image to media gallery
     *
     * @param string        $file              file path of image in file system
     * @param string|array  $mediaAttribute    code of attribute with type 'media_image',
     *                                         leave blank if image should be only in gallery
     * @param boolean       $move              if true, it will move source file
     * @param boolean       $exclude           mark image as disabled in product page view
     */
    Method [  public method addImageToMediaGallery ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 708 - 718

      - Parameters [4] {
        Parameter #0 [  $file ]
        Parameter #1 [  $mediaAttribute = NULL ]
        Parameter #2 [  $move = false ]
        Parameter #3 [  $exclude = true ]
      }
    }

    /**
     * Retrive product media config
     *
     * @return Mage_Catalog_Model_Product_Media_Config
     */
    Method [  public method getMediaConfig ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 725 - 728
    }

    /**
     * Create duplicate
     *
     * @return unknown
     */
    Method [  public method duplicate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 735 - 775
    }

    Method [  public method isSuperGroup ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 777 - 780
    }

    Method [  public method isSuperConfig ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 782 - 785
    }

    /**
     * Check is product grouped
     *
     * @return bool
     */
    Method [  public method isGrouped ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 791 - 794
    }

    /**
     * Check is product configurable
     *
     * @return bool
     */
    Method [  public method isConfigurable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 801 - 804
    }

    Method [  public method isSuper ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 806 - 809
    }

    Method [  public method getVisibleInCatalogStatuses ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 811 - 814
    }

    Method [  public method isVisibleInCatalog ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 816 - 819
    }

    Method [  public method getVisibleInSiteVisibilities ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 821 - 824
    }

    Method [  public method isVisibleInSiteVisibility ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 826 - 829
    }

    /**
     * Check is product available for sale
     *
     * @return bool
     */
    Method [  public method isSalable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 836 - 839
    }

    Method [  public method isSaleable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 841 - 844
    }

    Method [  public method isInStock ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 846 - 849
    }

    Method [  public method getAttributeText ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 851 - 857

      - Parameters [1] {
        Parameter #0 [  $attributeCode ]
      }
    }

    Method [  public method getCustomDesignDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 859 - 866
    }

    /**
     * Get product url
     *
     * @return string
     */
    Method [  public method getProductUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 873 - 876
    }

    Method [  public method formatUrlKey ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 878 - 881

      - Parameters [1] {
        Parameter #0 [  $str ]
      }
    }

    Method [  public method getUrlPath ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 883 - 886

      - Parameters [1] {
        Parameter #0 [  $category = NULL ]
      }
    }

    Method [  public method getImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 888 - 891
    }

    Method [  public method getCustomImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 893 - 896

      - Parameters [3] {
        Parameter #0 [  $size ]
        Parameter #1 [  $extension = NULL ]
        Parameter #2 [  $watermark = NULL ]
      }
    }

    Method [  public method getSmallImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 898 - 901
    }

    Method [  public method getCustomSmallImageUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 903 - 906

      - Parameters [3] {
        Parameter #0 [  $size ]
        Parameter #1 [  $extension = NULL ]
        Parameter #2 [  $watermark = NULL ]
      }
    }

    Method [  public method getThumbnailUrl ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 908 - 911
    }

    Method [  public method importFromTextArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 913 - 1021

      - Parameters [1] {
        Parameter #0 [  array $row ]
      }
    }

    Method [  public method importFromTextArraySilently ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1023 - 1131

      - Parameters [1] {
        Parameter #0 [  array $row ]
      }
    }

    Method [  public method addError ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1133 - 1136

      - Parameters [1] {
        Parameter #0 [  $error ]
      }
    }

    Method [  public method getErrors ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1138 - 1141
    }

    Method [  public method resetErrors ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1143 - 1146
    }

    Method [  public method printError ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1148 - 1160

      - Parameters [2] {
        Parameter #0 [  $error ]
        Parameter #1 [  $line = NULL ]
      }
    }

    Method [  public method addAttributeUpdate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1162 - 1173

      - Parameters [3] {
        Parameter #0 [  $code ]
        Parameter #1 [  $value ]
        Parameter #2 [  $store ]
      }
    }

    Method [  public method toArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1175 - 1183

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    Method [  public method fromArray ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1185 - 1196

      - Parameters [1] {
        Parameter #0 [  $data ]
      }
    }

    Method [  public method loadParentProductIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1198 - 1201
    }

    Method [  public method delete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1203 - 1208
    }

    Method [  public method getRequestPath ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1210 - 1213
    }

    /**
     * Custom function for other modules
     */
    Method [  public method getGiftMessageAvailable ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1219 - 1222
    }

    Method [  public method getRatingSummary ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1224 - 1227
    }

    /**
     * Check is product composite
     *
     * @return bool
     */
    Method [  public method isComposite ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1234 - 1237
    }

    /**
     * Retrieve sku through type instance
     *
     * @return string
     */
    Method [  public method getSku ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1244 - 1247
    }

    /**
     * Retrieve weight throught type instance
     *
     * @return unknown
     */
    Method [  public method getWeight ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1254 - 1257
    }

    /**
     * Retrieve option instance
     *
     * @return Mage_Catalog_Model_Product_Option
     */
    Method [  public method getOptionInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1264 - 1270
    }

    /**
     * Retrieve options collection of product
     *
     * @return Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option_Collection
     */
    Method [  public method getProductOptionsCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1277 - 1283
    }

    /**
     * Add option to array of product options
     *
     * @param Mage_Catalog_Model_Product_Option $option
     * @return Mage_Catalog_Model_Product
     */
    Method [  public method addOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1291 - 1295

      - Parameters [1] {
        Parameter #0 [  Mage_Catalog_Model_Product_Option $option ]
      }
    }

    /**
     * Get option from options array of product by given option id
     *
     * @param int $optionId
     * @return Mage_Catalog_Model_Product_Option | null
     */
    Method [  public method getOptionById ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1303 - 1310

      - Parameters [1] {
        Parameter #0 [  $optionId ]
      }
    }

    /**
     * Get all options of product
     *
     * @return array
     */
    Method [  public method getOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1317 - 1320
    }

    /**
     * Retrieve is a virtual product
     *
     * @return bool
     */
    Method [  public method getIsVirtual ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1327 - 1330
    }

    /**
     * Add custom option information to product
     *
     * @param   string $code
     * @param   mixed $value
     * @param   int $productId
     * @return  Mage_Catalog_Model_Product
     */
    Method [  public method addCustomOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1340 - 1350

      - Parameters [3] {
        Parameter #0 [  $code ]
        Parameter #1 [  $value ]
        Parameter #2 [  $product = NULL ]
      }
    }

    Method [  public method setCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1352 - 1355

      - Parameters [1] {
        Parameter #0 [  array $options ]
      }
    }

    /**
     * Get all custom options of the product
     *
     * @return array
     */
    Method [  public method getCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1362 - 1365
    }

    /**
     * Get product custom option info
     *
     * @param   string $code
     * @return  array
     */
    Method [  public method getCustomOption ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1373 - 1379

      - Parameters [1] {
        Parameter #0 [  $code ]
      }
    }

    /**
     * Checks if there custom option for this product
     *
     * @return bool
     */
    Method [  public method hasCustomOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1386 - 1393
    }

    /**
     * Check availability display product in category
     *
     * @param   int $categoryId
     * @return  bool
     */
    Method [  public method canBeShowInCategory ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 1401 - 1404

      - Parameters [1] {
        Parameter #0 [  $categoryId ]
      }
    }

    /**
     * Get collection instance
     *
     * @return object
     */
    Method [  public method getResourceCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 51 - 56
    }

    Method [  public method loadByAttribute ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 58 - 68

      - Parameters [2] {
        Parameter #0 [  $attribute ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * Retrieve sore object
     *
     * @return Mage_Core_Model_Store
     */
    Method [  public method getStore ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 75 - 78
    }

    /**
     * Retrieve all store ids of object current website
     *
     * @return unknown
     */
    Method [  public method getWebsiteStoreIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 85 - 88
    }

    /**
     * Adding attribute code and value to default value registry
     *
     * Default value existing is flag for using store value in data
     *
     * @param   string $attributeCode
     * @return  Mage_Catalog_Model_Abstract
     */
    Method [  public method setAttributeDefaultValue ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 98 - 102

      - Parameters [2] {
        Parameter #0 [  $attributeCode ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * Retrieve default value for attribute code
     *
     * @param   string $attributeCode
     * @return  mixed
     */
    Method [  public method getAttributeDefaultValue ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Abstract.php 110 - 113

      - Parameters [1] {
        Parameter #0 [  $attributeCode ]
      }
    }

    /**
     * Standard model initialization
     *
     * @param string $resourceModel
     * @param string $idFieldName
     * @return Mage_Core_Model_Abstract
     */
    Method [  protected method _init ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 84 - 87

      - Parameters [1] {
        Parameter #0 [  $resourceModel ]
      }
    }

    /**
     * Set resource names
     *
     * If collection name is ommited, resource name will be used with _collection appended
     *
     * @param string $resourceName
     * @param string|null $resourceCollectionName
     */
    Method [  protected method _setResourceModel ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 97 - 104

      - Parameters [2] {
        Parameter #0 [  $resourceName ]
        Parameter #1 [  $resourceCollectionName = NULL ]
      }
    }

    /**
     * Get resource instance
     *
     * @return Mage_Core_Model_Mysql4_Abstract
     */
    Method [  protected method _getResource ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 111 - 118
    }

    /**
     * Retrieve identifier field name for model
     *
     * @return string
     */
    Method [  public method getIdFieldName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 126 - 133
    }

    /**
     * Retrieve model object identifier
     *
     * @return mixed
     */
    Method [  public method getId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 140 - 147
    }

    /**
     * Declare model object identifier value
     *
     * @param   mixed $id
     * @return  Mage_Core_Model_Abstract
     */
    Method [  public method setId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 155 - 163

      - Parameters [1] {
        Parameter #0 [  $id ]
      }
    }

    /**
     * Retrieve model resource name
     *
     * @return string
     */
    Method [  public method getResourceName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 170 - 173
    }

    Method [  public method getCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 188 - 191
    }

    /**
     * Load object data
     *
     * @param   integer $id
     * @return  Mage_Core_Model_Abstract
     */
    Method [  public method load ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 199 - 205

      - Parameters [2] {
        Parameter #0 [  $id ]
        Parameter #1 [  $field = NULL ]
      }
    }

    Method [  public method afterLoad ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 219 - 223
    }

    /**
     * Save object data
     *
     * @return Mage_Core_Model_Abstract
     */
    Method [  public method save ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 230 - 245
    }

    /**
     * Safeguard func that will check, if we are in admin area
     *
     * @throws Mage_Core_Exception
     */
    Method [  protected method _protectFromNonAdmin ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 321 - 326
    }

    /**
     * Processing object after delete data
     *
     * @return Mage_Core_Model_Abstract
     */
    Method [  protected method _afterDelete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 333 - 347
    }

    /**
     * Retrieve model resource
     */
    Method [  public method getResource ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 352 - 355
    }

    Method [  public method getEntityId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Core/Model/Abstract.php 357 - 360
    }

    /**
     * Constructor
     *
     * By default is looking for first argument as array and assignes it as object attributes
     * This behaviour may change in child classes
     *
     */
    Method [  public method __construct ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 76 - 85
    }

    /**
     * Enter description here...
     *
     * @param boolean $isDeleted
     * @return boolean
     */
    Method [  public method isDeleted ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 102 - 109

      - Parameters [1] {
        Parameter #0 [  $isDeleted = NULL ]
      }
    }

    /**
     * set name of object id field
     *
     * @param   string $name
     * @return  Varien_Object
     */
    Method [  public method setIdFieldName ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 117 - 121

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    /**
     * Add data to the object.
     *
     * Retains previous data in the object.
     *
     * @param array $arr
     * @return Varien_Object
     */
    Method [  public method addData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 172 - 178

      - Parameters [1] {
        Parameter #0 [  array $arr ]
      }
    }

    /**
     * Overwrite data in the object.
     *
     * $key can be string or array.
     * If $key is string, the attribute value will be overwritten by $value
     *
     * If $key is an array, it will overwrite all the data in the object.
     *
     * $isChanged will specify if the object needs to be saved after an update.
     *
     * @param string|array $key
     * @param mixed $value
     * @param boolean $isChanged
     * @return Varien_Object
     */
    Method [  public method setData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 195 - 203

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $value = NULL ]
      }
    }

    /**
     * Unset data from the object.
     *
     * $key can be a string only. Array will be ignored.
     *
     * $isChanged will specify if the object needs to be saved after an update.
     *
     * @param string $key
     * @param boolean $isChanged
     * @return Varien_Object
     */
    Method [  public method unsetData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 216 - 224

      - Parameters [1] {
        Parameter #0 [  $key = NULL ]
      }
    }

    /**
     * Retrieves data from the object
     *
     * If $key is empty will return all the data as an array
     * Otherwise it will return value of the attribute specified by $key
     *
     * If $index is specified it will assume that attribute data is an array
     * and retrieve corresponding member.
     *
     * @param string $key
     * @param string|int $index
     * @param mixed $default
     * @return mixed
     */
    Method [  public method getData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 240 - 295

      - Parameters [2] {
        Parameter #0 [  $key = '' ]
        Parameter #1 [  $index = NULL ]
      }
    }

    /**
     * Get value from _data array without parse key
     *
     * @param   string $key
     * @return  mixed
     */
    Method [  protected method _getData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 303 - 306

      - Parameters [1] {
        Parameter #0 [  $key ]
      }
    }

    Method [  public method setDataUsingMethod ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 308 - 313

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $args = Array ]
      }
    }

    Method [  public method getDataUsingMethod ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 315 - 319

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $args = NULL ]
      }
    }

    /**
     * Fast get data or set default if value is not available
     *
     * @param string $key
     * @param mixed $default
     * @return mixed
     */
    Method [  public method getDataSetDefault ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 328 - 334

      - Parameters [2] {
        Parameter #0 [  $key ]
        Parameter #1 [  $default ]
      }
    }

    /**
     * If $key is empty, checks whether there's any data in the object
     * Otherwise checks if the specified attribute is set.
     *
     * @param string $key
     * @return boolean
     */
    Method [  public method hasData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 343 - 349

      - Parameters [1] {
        Parameter #0 [  $key = '' ]
      }
    }

    /**
     * Convert object attributes to array
     *
     * @param  array $arrAttributes array of required attributes
     * @return array
     */
    Method [  public method __toArray ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 357 - 373

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Set required array elements
     *
     * @param   array $arr
     * @param   array $elements
     * @return  array
     */
    Method [  protected method _prepareArray ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 393 - 401

      - Parameters [2] {
        Parameter #0 [  &$arr ]
        Parameter #1 [  array $elements = Array ]
      }
    }

    /**
     * Convert object attributes to XML
     *
     * @param  array $arrAttributes array of required attributes
     * @param string $rootName name of the root element
     * @return string
     */
    Method [  protected method __toXml ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 410 - 433

      - Parameters [4] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $rootName = 'item' ]
        Parameter #2 [  $addOpenTag = false ]
        Parameter #3 [  $addCdata = true ]
      }
    }

    /**
     * Public wrapper for __toXml
     *
     * @param array $arrAttributes
     * @param string $rootName
     * @return string
     */
    Method [  public method toXml ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 442 - 445

      - Parameters [4] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $rootName = 'item' ]
        Parameter #2 [  $addOpenTag = false ]
        Parameter #3 [  $addCdata = true ]
      }
    }

    /**
     * Convert object attributes to JSON
     *
     * @param  array $arrAttributes array of required attributes
     * @return string
     */
    Method [  protected method __toJson ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 453 - 458

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Public wrapper for __toJson
     *
     * @param array $arrAttributes
     * @return string
     */
    Method [  public method toJson ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 466 - 469

      - Parameters [1] {
        Parameter #0 [  array $arrAttributes = Array ]
      }
    }

    /**
     * Convert object attributes to string
     *
     * @param  array  $arrAttributes array of required attributes
     * @param  string $valueSeparator
     * @return string
     */
    Method [  public method __toString ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 478 - 482

      - Parameters [2] {
        Parameter #0 [  array $arrAttributes = Array ]
        Parameter #1 [  $valueSeparator = ',' ]
      }
    }

    /**
     * Public wrapper for __toString
     *
     * Will use $format as an template and substitute {{key}} for attributes
     *
     * @param string $format
     * @return string
     */
    Method [  public method toString ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 492 - 504

      - Parameters [1] {
        Parameter #0 [  $format = '' ]
      }
    }

    /**
     * Set/Get attribute wrapper
     *
     * @param   string $method
     * @param   array $args
     * @return  mixed
     */
    Method [  public method __call ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 513 - 544

      - Parameters [2] {
        Parameter #0 [  $method ]
        Parameter #1 [  $args ]
      }
    }

    /**
     * Attribute getter (deprecated)
     *
     * @param string $var
     * @return mixed
     */
    Method [  public method __get ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 553 - 557

      - Parameters [1] {
        Parameter #0 [  $var ]
      }
    }

    /**
     * Attribute setter (deprecated)
     *
     * @param string $var
     * @param mixed $value
     */
    Method [  public method __set ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 565 - 570

      - Parameters [2] {
        Parameter #0 [  $var ]
        Parameter #1 [  $value ]
      }
    }

    /**
     * checks whether the object is empty
     *
     * @return boolean
     */
    Method [  public method isEmpty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 577 - 583
    }

    /**
     * Converts field names for setters and geters
     *
     * $this->setMyField($value) === $this->setData('my_field', $value)
     * Uses cache to eliminate unneccessary preg_replace
     *
     * @param string $name
     * @return string
     */
    Method [  protected method _underscore ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 594 - 604

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    Method [  protected method _camelize ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 606 - 609

      - Parameters [1] {
        Parameter #0 [  $name ]
      }
    }

    /**
     * serialize object attributes
     *
     * @param   array $attributes
     * @param   string $valueSeparator
     * @param   string $fieldSeparator
     * @param   string $quote
     * @return  string
     */
    Method [  public method serialize ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 620 - 635

      - Parameters [4] {
        Parameter #0 [  $attributes = Array ]
        Parameter #1 [  $valueSeparator = '=' ]
        Parameter #2 [  $fieldSeparator = ' ' ]
        Parameter #3 [  $quote = '"' ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $key
     * @return mixed
     */
    Method [  public method getOrigData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 643 - 649

      - Parameters [1] {
        Parameter #0 [  $key = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $key
     * @param mixed $data
     * @return Varien_Object
     */
    Method [  public method setOrigData ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 658 - 666

      - Parameters [2] {
        Parameter #0 [  $key = NULL ]
        Parameter #1 [  $data = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @return boolean
     */
    Method [  public method dataHasChangedFor ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 674 - 679

      - Parameters [1] {
        Parameter #0 [  $field ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @return boolean
     */
    Method [  public method isDirty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 687 - 696

      - Parameters [1] {
        Parameter #0 [  $field = NULL ]
      }
    }

    /**
     * Enter description here...
     *
     * @param string $field
     * @param boolean $flag
     * @return Varien_Object
     */
    Method [  public method flagDirty ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 705 - 719

      - Parameters [2] {
        Parameter #0 [  $field ]
        Parameter #1 [  $flag = true ]
      }
    }

    Method [  public method debug ] {
      @@ /home/musicdirect/public_html/lib/Varien/Object.php 731 - 752

      - Parameters [2] {
        Parameter #0 [  $data = NULL ]
        Parameter #1 [  &$objects = Array ]
      }
    }
  }
}
Add to Cart
When Grizelda, the Lord High Witch of Boggy Town Ditch, sends her evil mob out to ruin Christmas, urgent action is required. Learn More
The Colours Of Christmas
           
/**
 * Catalog product model
 *
 * @category   Mage
 * @package    Mage_Catalog
 * @author      Magento Core Team 
 */
Object of class [  class Mage_Catalog_Model_Product extends Mage_Catalog_Model_Abstract ] {
  @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 28-1405

  - Constants [2] {
    Constant [ string CACHE_TAG ] { catalog_product }
    Constant [ integer DEFAULT_STORE_ID ] { 0 }
  }

  - Static properties [4] {
    Property [ protected static $_url ]
    Property [ protected static $_urlRewrite ]
    Property [ protected static $_underscoreCache ]
    Property [ protected static $_camelizeCache ]
  }

  - Static methods [0] {
  }

  - Properties [19] {
    Property [  protected $_cacheTag ]
    Property [  protected $_eventPrefix ]
    Property [  protected $_eventObject ]
    Property [  protected $_canAffectOptions ]
    Property [  protected $_typeInstance ]
    Property [  protected $_linkInstance ]
    Property [  protected $_customOptions ]
    Property [  protected $_urlModel ]
    Property [  protected $_errors ]
    Property [  protected $_optionInstance ]
    Property [  protected $_options ]
    Property [  protected $_defaultValues ]
    Property [  protected $_resourceName ]
    Property [  protected $_resource ]
    Property [  protected $_resourceCollectionName ]
    Property [  protected $_data ]
    Property [  protected $_origData ]
    Property [  protected $_idFieldName ]
    Property [  protected $_isDeleted ]
  }

  - Dynamic properties [0] {
  }

  - Methods [155] {
    /**
     * Initialize resources
     */
    Method [  protected method _construct ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 71 - 75
    }

    Method [  public method validate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 77 - 81
    }

    Method [  public method getName ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 83 - 86
    }

    /**
     * Get product price throught type instance
     *
     * @return unknown
     */
    Method [  public method getPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 93 - 96
    }

    Method [  public method getTypeId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 98 - 101
    }

    Method [  public method getStatus ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 103 - 106
    }

    /**
     * Retrieve type instance
     *
     * Type instance implement type depended logic
     *
     * @return  Mage_Catalog_Model_Product_Type_Abstract
     */
    Method [  public method getTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 115 - 121
    }

    Method [  public method setTypeInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 123 - 127

      - Parameters [1] {
        Parameter #0 [  $instance ]
      }
    }

    /**
     * Retrieve type instance
     *
     * @return  Mage_Catalog_Model_Product_Link
     */
    Method [  public method getLinkInstance ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 134 - 140
    }

    /**
     * Retrive product id by sku
     *
     * @param   string $sku
     * @return  integer
     */
    Method [  public method getIdBySku ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 148 - 151

      - Parameters [1] {
        Parameter #0 [  $sku ]
      }
    }

    /**
     * Retrieve product category id
     *
     * @return int
     */
    Method [  public method getCategoryId ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 158 - 164
    }

    /**
     * Retrieve product category
     *
     * @return Mage_Catalog_Model_Category
     */
    Method [  public method getCategory ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 171 - 179
    }

    Method [  public method setCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 181 - 195

      - Parameters [1] {
        Parameter #0 [  $ids ]
      }
    }

    Method [  public method getCategoryIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 197 - 210
    }

    /**
     * Retrieve product categories
     *
     * @return Varien_Data_Collection
     */
    Method [  public method getCategoryCollection ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 217 - 220
    }

    /**
     * Retrieve product websites identifiers
     *
     * @return array
     */
    Method [  public method getWebsiteIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 227 - 234
    }

    Method [  public method getStoreIds ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 236 - 249
    }

    /**
     * Retrieve product attributes
     *
     * if $groupId is null - retrieve all product attributes
     *
     * @param   int $groupId
     * @return  array
     */
    Method [  public method getAttributes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 259 - 275

      - Parameters [2] {
        Parameter #0 [  $groupId = NULL ]
        Parameter #1 [  $skipSuper = false ]
      }
    }

    /**
     * Check product options and type options and save them, too
     *
     */
    Method [  protected method _beforeSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 281 - 329
    }

    /**
     * Check/set if options can be affected when saving product
     * If value specified, it will be set.
     *
     * @param bool $value
     * @return bool
     */
    Method [  public method canAffectOptions ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 338 - 344

      - Parameters [1] {
        Parameter #0 [  $value = NULL ]
      }
    }

    /**
     * Saving product type related data
     *
     * @return unknown
     */
    Method [  protected method _afterSave ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 351 - 370
    }

    Method [  protected method _beforeDelete ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 372 - 378
    }

    /**
     * Substract this product from all quotes quantities
     *
     * @throws Exception
     */
    Method [  protected method _substractQtyFromQuotes ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 385 - 409
    }

    Method [  protected method _afterLoad ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 411 - 420
    }

    Method [  public method cleanCache ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 422 - 425
    }

    Method [  public method getPriceModel ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 427 - 430
    }

    /**
     * Get product tier price by qty
     *
     * @param   double $qty
     * @return  double
     */
    Method [  public method getTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 438 - 441

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Count how many tier prices we have for the product
     *
     * @return  int
     */
    Method [  public method getTierPriceCount ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 448 - 451
    }

    /**
     * Get formated by currency tier price
     *
     * @param   double $qty
     * @return  array || double
     */
    Method [  public method getFormatedTierPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 459 - 462

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    /**
     * Get formated by currency product price
     *
     * @return  array || double
     */
    Method [  public method getFormatedPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 469 - 472
    }

    /**
     * Get product final price
     *
     * @param double $qty
     * @return double
     */
    Method [  public method getFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 480 - 483

      - Parameters [1] {
        Parameter #0 [  $qty = NULL ]
      }
    }

    Method [  public method getCalculatedFinalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 485 - 488
    }

    Method [  public method getMinimalPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 490 - 493
    }

    Method [  public method getSpecialPrice ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 495 - 498
    }

    Method [  public method getSpecialFromDate ] {
      @@ /home/musicdirect/public_html/app/code/core/Mage/Catalog/Model/Product.php 500 - 503
    }

    Method [  public method getSpecialToDate ] {
      @@ /home/musi