Archive for July, 2009

Note to self: Magento Custom API and method names

(July 31st, 2009)

Not to self: When wanting to use a PHP preserved keyword as a api method (sutch as “list”), use the <method>methodName</method> tag in api.xml

Like this:

<list translate=”title” module=”sales”>
<title>Retrieve list of orders by filters</title>
<method>items</method>
<acl>sales/order/info</acl>
</list>