/** * The function returns current product Models. * * @access public * @return array The product Models. */ public function getModels() { $Model = new Product_Model(); return $Model->findList(array('ProductId = ' . $this->Id), 'Position asc'); }