$collection = Mage::getModel('catalog/product');
Array
(
[0] => getStoreId
[1] => getResourceCollection
[2] => getUrlModel
[3] => validate
[4] => getName
[5] => getPrice
[6] => setPriceCalculation
[7] => getTypeId
[8] => getStatus
[9] => getTypeInstance
[10] => setTypeInstance
[11] => getLinkInstance
[12] => getIdBySku
[13] => getCategoryId
[14] => getCategory
[15] => setCategoryIds
[16] => getCategoryIds
[17] => getCategoryCollection
[18] => getWebsiteIds
[19] => getStoreIds
[20] => getAttributes
[21] => canAffectOptions
[22] => cleanCache
[23] => getPriceModel
[24] => getGroupPrice
[25] => getTierPrice
[26] => getTierPriceCount
[27] => getFormatedTierPrice
[28] => getFormatedPrice
[29] => setFinalPrice
[30] => getFinalPrice
[31] => getCalculatedFinalPrice
[32] => getMinimalPrice
[33] => getSpecialPrice
[34] => getSpecialFromDate
[35] => getSpecialToDate
[36] => getRelatedProducts
[37] => getRelatedProductIds
[38] => getRelatedProductCollection
[39] => getRelatedLinkCollection
[40] => getUpSellProducts
[41] => getUpSellProductIds
[42] => getUpSellProductCollection
[43] => getUpSellLinkCollection
[44] => getCrossSellProducts
[45] => getCrossSellProductIds
[46] => getCrossSellProductCollection
[47] => getCrossSellLinkCollection
[48] => getGroupedLinkCollection
[49] => getMediaAttributes
[50] => getMediaGalleryImages
[51] => addImageToMediaGallery
[52] => getMediaConfig
[53] => duplicate
[54] => isSuperGroup
[55] => isSuperConfig
[56] => isGrouped
[57] => isConfigurable
[58] => isSuper
[59] => getVisibleInCatalogStatuses
[60] => getVisibleStatuses
[61] => isVisibleInCatalog
[62] => getVisibleInSiteVisibilities
[63] => isVisibleInSiteVisibility
[64] => isDuplicable
[65] => setIsDuplicable
[66] => isSalable
[67] => isAvailable
[68] => getIsSalable
[69] => isVirtual
[70] => isRecurring
[71] => isSaleable
[72] => isInStock
[73] => getAttributeText
[74] => getCustomDesignDate
[75] => getProductUrl
[76] => getUrlInStore
[77] => formatUrlKey
[78] => getUrlPath
[79] => addAttributeUpdate
[80] => toArray
[81] => fromArray
[82] => loadParentProductIds
[83] => delete
[84] => getRequestPath
[85] => getGiftMessageAvailable
[86] => getRatingSummary
[87] => isComposite
[88] => canConfigure
[89] => getSku
[90] => getWeight
[91] => getOptionInstance
[92] => getProductOptionsCollection
[93] => addOption
[94] => getOptionById
[95] => getOptions
[96] => getIsVirtual
[97] => addCustomOption
[98] => setCustomOptions
[99] => getCustomOptions
[100] => getCustomOption
[101] => hasCustomOptions
[102] => canBeShowInCategory
[103] => getAvailableInCategories
[104] => getDefaultAttributeSetId
[105] => getImageUrl
[106] => getSmallImageUrl
[107] => getThumbnailUrl
[108] => getReservedAttributes
[109] => isReservedAttribute
[110] => setOrigData
[111] => reset
[112] => getCacheIdTags
[113] => isProductsHasSku
[114] => processBuyRequest
[115] => getPreconfiguredValues
[116] => prepareCustomOptions
[117] => getProductEntitiesInfo
[118] => isDisabled
[119] => lockAttribute
[120] => unlockAttribute
[121] => unlockAttributes
[122] => getLockedAttributes
[123] => hasLockedAttributes
[124] => isLockedAttribute
[125] => setData
[126] => unsetData
[127] => loadByAttribute
[128] => getStore
[129] => getWebsiteStoreIds
[130] => setAttributeDefaultValue
[131] => getAttributeDefaultValue
[132] => setExistsStoreValueFlag
[133] => getExistsStoreValueFlag
[134] => isDeleteable
[135] => setIsDeleteable
[136] => isReadonly
[137] => setIsReadonly
[138] => getIdFieldName
[139] => getId
[140] => setId
[141] => getResourceName
[142] => getCollection
[143] => load
[144] => afterLoad
[145] => save
[146] => afterCommitCallback
[147] => isObjectNew
[148] => getCacheTags
[149] => cleanModelCache
[150] => getResource
[151] => getEntityId
[152] => clearInstance
[153] => __construct
[154] => isDeleted
[155] => hasDataChanges
[156] => setIdFieldName
[157] => addData
[158] => unsetOldData
[159] => getData
[160] => setDataUsingMethod
[161] => getDataUsingMethod
[162] => getDataSetDefault
[163] => hasData
[164] => __toArray
[165] => toXml
[166] => toJson
[167] => toString
[168] => __call
[169] => __get
[170] => __set
[171] => isEmpty
[172] => serialize
[173] => getOrigData
[174] => dataHasChangedFor
[175] => setDataChanges
[176] => debug
[177] => offsetSet
[178] => offsetExists
[179] => offsetUnset
[180] => offsetGet
[181] => isDirty
[182] => flagDirty
)
consider above script
$collection = Mage::getModel('catalog/product')->load();//->addAttributeToFilter('sku', array('eq' => 'AKE:ACT336'));
print_r(get_class_methods($collection->getPriceModel()));
Array
(
[0] => getPrice
[1] => getBasePrice
[2] => getFinalPrice
[3] => getChildFinalPrice
[4] => getGroupPrice
[5] => getTierPrice
[6] => getTierPriceCount
[7] => getFormatedTierPrice
[8] => getFormatedPrice
[9] => calculatePrice
[10] => calculateSpecialPrice
[11] => isTierPriceFixed
[12] => isGroupPriceFixed
)
Wednesday, June 12, 2013
[magento] get class methods for load() of mage::getModel(catelog/product)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment