$arrayParameters = $this->makeArrayFromParameters(__METHOD__, func_get_args());
$arrayParameters = $this->sendEvent('ModuleTpl_service_get_item_start', $arrayParameters);
$ModuleTplTable = $this->getServiceManager()->get('ModuleTplTable');
$item = $ModuleTplTable->getEntryById($arrayParameters['id'])->current();
$arrayParameters['results'] = $item;
$arrayParameters = $this->sendEvent('ModuleTpl_service_get_item_end', $arrayParameters);
return $arrayParameters['results'];
|