About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
installation:migration_notes:service_names

This is an old revision of the document!


Service Name Migration

In VuFind 5.0, the switch to Zend ServiceManager v3 means that internal service names are now case-sensitive. This requires some changes. This page documents pre-5.0 service names and post-5.0 equivalents to help you update your local code.

Core Services

The way VuFind addresses some core Zend services has changed.

Zend Framework

  • viewmanager is now ViewManager

Zend Translator Plugins

  • extendedini is now ExtendedIni

VuFind Services

The names of services defined within VuFind have also changed.

Controller Plugins

When overriding core Zend plugins, we now need to use the canonical class name for the plugin.

  • flashmessenger is now Zend\Mvc\Plugin\FlashMessenger\FlashMessenger

Controllers

VuFind's controller service names now need to match the settings in the routes in a case-sensitive fashion. Several modules have had to be adjusted; all of the services are listed alphabetically here.

  • admin is now Admin
  • adminconfig is now AdminConfig
  • adminmaintenance is now AdminMaintenance
  • adminsocial is now AdminSocial
  • adminstatistics is now AdminStatistics
  • admintags is now AdminTags
  • ajax is now AJAX
  • alphabrowse is now Alphabrowse
  • api is now Api
  • author is now Author
  • authority is now Authority
  • browse is now Browse
  • browzine is now BrowZine
  • cart is now Cart
  • channels is now Channels
  • collection is now Collection
  • collections is now Collections
  • combined is now Combined
  • confirm is now Confirm
  • content is now Content
  • cover is now Cover
  • devtools is now DevTools
  • eds is now EDS
  • edsrecord is now EdsRecord
  • eit is now EIT
  • eitrecord is now EITRecord
  • error is now Error
  • externalauth is now ExternalAuth
  • feedback is now Feedback
  • help is now Help
  • hierarchy is now Hierarchy
  • install is now Install
  • libguides is now LibGuides
  • librarycards is now LibraryCards
  • missingrecord is now MissingRecord
  • my-research is now MyResearch
  • oai is now OAI
  • pazpar2 is now Pazpar2
  • primo is now Primo
  • primorecord is now PrimoRecord
  • qrcode is now QRCode
  • record is now Record
  • records is now Records
  • search is now Search
  • searchapi is now SearchApi
  • shibbolethlogoutnotification is now ShibbolethLogoutNotification
  • summon is now Summon
  • summonrecord is now SummonRecord
  • tag is now Tag
  • upgrade is now Upgrade
  • web is now Web
  • worldcat is now Worldcat
  • worldcatrecord is now WorldcatRecord

View Helpers

Most view helper service names have been updated to match the case with which they are invoked. When overriding core Zend helpers, we now need to use the canonical class name for the helper.

  • accountcapabilities is now accountCapabilities
  • addellipsis is now addEllipsis
  • addthis is now addThis
  • authornotes is now authorNotes
  • currentpath is now currentPath
  • datetime is now dateTime
  • displaylanguageoption is now displayLanguageOption
  • headlink is now Zend\View\Helper\HeadLink
  • headscript is now Zend\View\Helper\HeadScript
  • headthemeresources is now headThemeResources
  • helptext is now helpText
  • imagelink is now imagelink
  • inlinescript is now Zend\View\Helper\InlineScript
  • jstranslations is now jsTranslations
  • keepalive is now keepAlive
  • layoutclass is now layoutClass
  • openurl is now openUrl
  • proxyurl is now proxyUrl
  • recorddataformatter is now recordDataFormatter
  • recordlink is now recordLink
  • renderarray is now renderArray
  • safemoneyformat is now safeMoneyFormat
  • searchmemory is now searchMemory
  • searchoptions is now searchOptions
  • searchparams is now searchParams
  • searchtabs is now searchTabs
  • sortfacetlist is now sortFacetList
  • syndeticsplus is now syndeticsPlus
  • systememail is now systemEmail
  • transesc is now transEsc
installation/migration_notes/service_names.1509985537.txt.gz · Last modified: 2017/11/06 16:25 by demiankatz