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.