Skip to main content
1 of 2
PЯINCƎ
  • 11.7k
  • 3
  • 25
  • 82

limit on getData( ) - Magento 1.9

Most of the time during the customization, we need at one time to use a getData() on an object exemple $_item = $this->getItem(); to retrieve the datas and see if we have what we are looking for, except that sometimes we come across a large number of items So that it takes a long time to load and sometimes even go to the time out.

My question is: it is possible to add a limit on the getData() ? or if you have other tricks to get the datas of an object, that would be welcome.

PЯINCƎ
  • 11.7k
  • 3
  • 25
  • 82