/** * Updates href of a given item * * @param Tx_Yag_Domain_Model_Item $item Item to update title * @param string $itemHref New href of item * @rbacNeedsAccess * @rbacObject Item * @rbacAction edit */ public function updateItemHrefAction(Tx_Yag_Domain_Model_Item $item, $itemHref) { $item->setHref(utf8_encode($itemHref)); $this->itemRepository->update($item); $this->returnDataAndShutDown(); }