function getPrepressRows() { $return_array = array(); if ($this->id != "") { $componentPrepress = new ComponentPrepress(); $return_array = $componentPrepress->get_full_list("id", "component_id='" . $this->id . "'"); } return $return_array; }