public function getImages() { $images = array(); if ($this->id) { $images = K2HelperImages::getItemImages($this); } return $images; }