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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
installation:migration_notes:service_names [2018/02/05 21:59] – [Top-Level Services] demiankatzinstallation:migration_notes:service_names [2020/03/03 17:53] – [Service Name Migration] demiankatz
Line 1: Line 1:
 ====== Service Name Migration ====== ====== 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.+In VuFind 5.0, the switch to [[development:architecture:laminas|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 ===== ===== Core Services =====
Line 537: Line 537:
 ==== View Helpers ==== ==== 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.+View helpers are now defined using fully qualified class names as service names. Aliases have been adjusted to match the case by which helpers are called in templates.
  
-  * accountcapabilities is now accountCapabilities +  * accountcapabilities is now VuFind\View\Helper\Root\AccountCapabilities (with alias accountCapabilities) 
-  * addellipsis is now addEllipsis +  * addellipsis is now VuFind\View\Helper\Root\AddEllipsis (with alias addEllipsis) 
-  * addthis is now addThis +  * addthis is now VuFind\View\Helper\Root\AddThis (with alias addThis
-  * authornotes is now authorNotes +  * alphabrowse is now VuFind\View\Helper\Root\AlphaBrowse 
-  * currentpath is now currentPath +  * auth is now VuFind\View\Helper\Root\Auth 
-  * datetime is now dateTime +  * authornotes is now VuFind\View\Helper\Root\AuthorNotes (with alias authorNotes
-  * displaylanguageoption is now displayLanguageOption+  * browse is now VuFind\View\Helper\Root\Browse 
 +  * cart is now VuFind\View\Helper\Root\Cart 
 +  * citation is now VuFind\View\Helper\Root\Citation 
 +  * context is now VuFind\View\Helper\Root\Context 
 +  * currentpath is now VuFind\View\Helper\Root\CurrentPath (with alias currentPath) 
 +  * datetime is now VuFind\View\Helper\Root\DateTime (with alias dateTime) 
 +  * displaylanguageoption is now VuFind\View\Helper\Root\DisplayLanguageOption (with alias displayLanguageOption
 +  * export is now VuFind\View\Helper\Root\Export 
 +  * feedback is now VuFind\View\Helper\Root\Feedback 
 +  * flashmessages is now VuFind\View\Helper\Root\Flashmessages or VuFind\View\Helper\Bootstrap3\Flashmessages 
 +  * geocoords is now VuFind\View\Helper\Root\GeoCoords 
 +  * googleanalytics is now VuFind\View\Helper\Root\GoogleAnalytics
   * headlink is now Zend\View\Helper\HeadLink   * headlink is now Zend\View\Helper\HeadLink
   * headscript is now Zend\View\Helper\HeadScript   * headscript is now Zend\View\Helper\HeadScript
-  * headthemeresources is now headThemeResources +  * headthemeresources is now VuFindTheme\View\Helper\HeadThemeResources (with alias headThemeResources) 
-  * helptext is now helpText +  * helptext is now VuFind\View\Helper\Root\HelpText (with alias helpText) 
-  * imagelink is now imagelink+  * highlight is now VuFind\View\Helper\Root\Highlight or VuFind\View\Helper\Bootstrap3\Highlight 
 +  * historylabel is now VuFind\View\Helper\Root\HistoryLabel 
 +  * ils is now VuFind\View\Helper\Root\Ils 
 +  * imagelink is now VuFindTheme\View\Helper\ImageLink (with alias imageLink)
   * inlinescript is now Zend\View\Helper\InlineScript   * inlinescript is now Zend\View\Helper\InlineScript
-  * jstranslations is now jsTranslations +  * jstranslations is now VuFind\View\Helper\Root\JsTranslations (with alias jsTranslations) 
-  * keepalive is now keepAlive +  * keepalive is now VuFind\View\Helper\Root\KeepAlive (with alias keepAlive) 
-  * layoutclass is now layoutClass +  * layoutclass is now VuFind\View\Helper\Bootstrap3\LayoutClass (with alias layoutClass
-  * openurl is now openUrl +  * localizedNumber is now VuFind\View\Helper\Root\LocalizedNumber 
-  * proxyurl is now proxyUrl +  * openurl is now VuFind\View\Helper\Root\OpenUrl (with alias openUrl
-  * recorddataformatter is now recordDataFormatter +  * permission is now VuFind\View\Helper\Root\Permission 
-  * recordlink is now recordLink +  * piwik is now VuFind\View\Helper\Root\Piwik 
-  * renderarray is now renderArray +  * printms is now VuFind\View\Helper\Root\Printms 
-  * safemoneyformat is now safeMoneyFormat +  * proxyurl is now VuFind\View\Helper\Root\ProxyUrl (with alias proxyUrl
-  * searchmemory is now searchMemory +  * recaptcha is now VuFind\View\Helper\Root\Recaptcha or VuFind\View\Helper\Bootstrap3\Recaptcha 
-  * searchoptions is now searchOptions +  * recommend is now VuFind\View\Helper\Root\Recommend 
-  * searchparams is now searchParams +  * record is now VuFind\View\Helper\Root\Record 
-  * searchtabs is now searchTabs +  * recorddataformatter is now VuFind\View\Helper\Root\RecordDataFormatter (with alias recordDataFormatter) 
-  * sortfacetlist is now sortFacetList +  * recordlink is now VuFind\View\Helper\Root\RecordLink (with alias recordLink
-  * syndeticsplus is now syndeticsPlus +  * related is now VuFind\View\Helper\Root\Related 
-  * systememail is now systemEmail +  * renderarray is now VuFind\View\Helper\Root\RenderArray (with alias renderArray
-  * transesc is now transEsc+  * resultfeed is now VuFind\View\Helper\Root\ResultFeed 
 +  * safemoneyformat is now VuFind\View\Helper\Root\SafeMoneyFormat (with alias safeMoneyFormat
 +  * search is now VuFind\View\Helper\Bootstrap3\Search 
 +  * searchmemory is now VuFind\View\Helper\Root\SearchMemory (with alias searchMemory) 
 +  * searchoptions is now VuFind\View\Helper\Root\SearchOptions (with alias searchOptions) 
 +  * searchparams is now VuFind\View\Helper\Root\SearchParams (with alias searchParams) 
 +  * searchtabs is now VuFind\View\Helper\Root\SearchTabs (with alias searchTabs
 +  * searchbox is now VuFind\View\Helper\Root\SearchBox 
 +  * sortfacetlist is now VuFind\View\Helper\Root\SortFacetList (with alias sortFacetList
 +  * summaries is now VuFind\View\Helper\Root\Summaries 
 +  * summon is now VuFind\View\Helper\Root\Summon 
 +  * syndeticsplus is now VuFind\View\Helper\Root\SyndeticsPlus (with alias syndeticsPlus) 
 +  * systememail is now VuFind\View\Helper\Root\SystemEmail (with alias systemEmail) 
 +  * transesc is now VuFind\View\Helper\Root\TransEsc (with alias transEsc
 +  * translate is now VuFind\View\Helper\Root\Translate 
 +  * truncate is now VuFind\View\Helper\Root\Truncate 
 +  * userlist is now VuFind\View\Helper\Root\UserList 
 +  * usertags is now VuFind\View\Helper\Root\UserTags 
 ---- struct data ---- ---- struct data ----
 ---- ----
  
installation/migration_notes/service_names.txt · Last modified: 2020/03/03 17:57 by demiankatz