I need to get all the items of specific K2 category as object in templates/mytemplate/html/com_k2/default/category.php. Something like:
foreach($this->category->items as $item) {
echo $item->image;
}
but I dont' know API of K2 component. To get not only $this->leading or $this->primary or $this->secondary with their limits but ALL the items of the current category
You may get it with direct query to MySQL: