Friday, June 07, 2013

[magento] getCollection()-method

grouped_products = Mage::getModel('Catalog/Product')->getCollection();

print_r(get_class_methods($grouped_products)) ;

Array
(
    [0] => getCatalogPreparedSelect
    [1] => getPriceExpression
    [2] => getAdditionalPriceExpression
    [3] => getCurrencyRate
    [4] => getFlatHelper
    [5] => isEnabledFlat
    [6] => getNewEmptyItem
    [7] => setEntity
    [8] => setStore
    [9] => _loadAttributes
    [10] => addAttributeToSelect
    [11] => addIdFilter
    [12] => addWebsiteNamesToResult
    [13] => addStoreFilter
    [14] => addWebsiteFilter
    [15] => getLimitationFilters
    [16] => addCategoryFilter
    [17] => joinMinimalPrice
    [18] => getMaxAttributeValue
    [19] => getAttributeValueCountByRange
    [20] => getAttributeValueCount
    [21] => getAllAttributeValues
    [22] => getSelectCountSql
    [23] => getAllIds
    [24] => getProductCountSelect
    [25] => unsProductCountSelect
    [26] => addCountToCategories
    [27] => getSetIds
    [28] => getProductTypeIds
    [29] => joinUrlRewrite
    [30] => addUrlRewrite
    [31] => addMinimalPrice
    [32] => addFinalPrice
    [33] => getAllIdsCache
    [34] => setAllIdsCache
    [35] => addPriceData
    [36] => addAttributeToFilter
    [37] => addTaxPercents
    [38] => requireTaxPercent
    [39] => addOptionsToResult
    [40] => addFilterByRequiredOptions
    [41] => setVisibility
    [42] => addAttributeToSort
    [43] => applyFrontendPriceLimitations
    [44] => addCategoryIds
    [45] => addTierPriceData
    [46] => addPriceDataFieldFilter
    [47] => clear
    [48] => setOrder
    [49] => getMaxPrice
    [50] => getMinPrice
    [51] => getPriceStandardDeviation
    [52] => getPricesCount
    [53] => setStoreId
    [54] => getStoreId
    [55] => getDefaultStoreId
    [56] => __construct
    [57] => getTable
    [58] => getEntity
    [59] => getResource
    [60] => setObject
    [61] => addItem
    [62] => getAttribute
    [63] => addFieldToFilter
    [64] => addEntityTypeToSelect
    [65] => addStaticField
    [66] => addExpressionAttributeToSelect
    [67] => groupByAttribute
    [68] => joinAttribute
    [69] => joinField
    [70] => joinTable
    [71] => removeAttributeToSelect
    [72] => setPage
    [73] => load
    [74] => getAllIdsSql
    [75] => save
    [76] => delete
    [77] => importFromArray
    [78] => exportToArray
    [79] => getRowIdFieldName
    [80] => setRowIdFieldName
    [81] => _loadEntities
    [82] => toArray
    [83] => getLoadedIds
    [84] => _prepareSelect
    [85] => addBindParam
    [86] => initCache
    [87] => getIdFieldName
    [88] => setConnection
    [89] => getSelect
    [90] => getConnection
    [91] => getSize
    [92] => getSelectSql
    [93] => addOrder
    [94] => unshiftOrder
    [95] => distinct
    [96] => fetchItem
    [97] => getData
    [98] => resetData
    [99] => loadData
    [100] => printLogQuery
    [101] => addFilterToMap
    [102] => addFilter
    [103] => getFilter
    [104] => isLoaded
    [105] => getCurPage
    [106] => getLastPageNumber
    [107] => getPageSize
    [108] => getFirstItem
    [109] => getLastItem
    [110] => getItems
    [111] => getColumnValues
    [112] => getItemsByColumnValue
    [113] => getItemByColumnValue
    [114] => removeItemByKey
    [115] => walk
    [116] => each
    [117] => setDataToAll
    [118] => setCurPage
    [119] => setPageSize
    [120] => setItemObjectClass
    [121] => toXml
    [122] => toOptionArray
    [123] => toOptionHash
    [124] => getItemById
    [125] => getIterator
    [126] => count
    [127] => setCacheKey
    [128] => getCacheKey
    [129] => setCacheTags
    [130] => getCacheTags
    [131] => getCacheLifetime
    [132] => getFlag
    [133] => setFlag
    [134] => hasFlag
)

No comments: