custom api
文章平均质量分 76
恶魔小刀
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
magento custom api configuration
首先假设你的目录结构:-- PackageName -- ModuleName -- etc -- Model -- Scope -- Api.php -- Api -- v2.php -- controllers原创 2012-10-08 17:36:44 · 697 阅读 · 0 评论 -
magento custom product api (1)--- infomobile
本api是根据magento 自有api product.info改写而来,大家可以自己根据项目需求改写api返回内容。至于api配置部分就不再重复,想看配置custom api请点击:magento custom api configuration /** * Retrieve product info * * @param int|string原创 2012-10-08 16:22:52 · 737 阅读 · 0 评论 -
magento custom category api (2) --- collectioninfo
获取指定分类信息,及所有改分类下的product信息查看custom api 配置请点击:magento custom api configuration /* Retrieve category collection info * * @param int $categoryId * @param string|int $store * @pa原创 2012-10-08 18:03:04 · 557 阅读 · 0 评论 -
magento custom product api (2) --- getskubyurl
注意:首先要保证url key 唯一至于api配置部分就不再重复,想看配置custom api请点击:magento custom api configuration/* * Get product sku by url_key * @param string $urlKey * @param null $store * * @retu原创 2012-10-08 17:41:11 · 604 阅读 · 0 评论 -
magento custom product api(4) --- getallproducts
获取所有status 为true的product collection想看配置custom api请点击:magento custom api configuration/* * Retrieve All actived products */ public function getallproducts(){ $collection = Mage::getModel原创 2012-10-08 17:51:54 · 407 阅读 · 0 评论 -
magento custom product api (3) --- getupdatedproducts
获取指定时间之后的有更新的所有products collection至于api配置部分就不再重复,想看配置custom api请点击:magento custom api configuration/* * List of product that has been created or updated since a date * * @param原创 2012-10-08 17:48:59 · 416 阅读 · 0 评论 -
magento custom category api (1) --- collectiontree
获取指定product category id 自身及其所有子类信息/* Retrieve category collection tree * * @param int $parent * @param string|int $store * @return array */ public function collecti原创 2012-10-08 17:59:22 · 576 阅读 · 0 评论
分享