public function optionForm() { $item = ActiveRecordModel::getInstanceById('OrderedItem', $this->request->get('id'), true, true); $item->customerOrder->get()->loadAll(); $c = new OrderController($this->application); $response = $c->optionForm($item->customerOrder->get(), ''); $response->set('currency', $item->customerOrder->get()->currency->get()->getID()); return $response; }