Move cover URL generation to its own class. (#718)
- Allows easier code reuse. - Eliminates redundant route calculation.
Showing
- module/VuFind/config/module.config.php 1 addition, 0 deletionsmodule/VuFind/config/module.config.php
- module/VuFind/src/VuFind/Cover/Router.php 86 additions, 0 deletionsmodule/VuFind/src/VuFind/Cover/Router.php
- module/VuFind/src/VuFind/Service/Factory.php 14 additions, 0 deletionsmodule/VuFind/src/VuFind/Service/Factory.php
- module/VuFind/src/VuFind/View/Helper/Root/Factory.php 5 additions, 1 deletionmodule/VuFind/src/VuFind/View/Helper/Root/Factory.php
- module/VuFind/src/VuFind/View/Helper/Root/Record.php 24 additions, 16 deletionsmodule/VuFind/src/VuFind/View/Helper/Root/Record.php
- module/VuFind/tests/unit-tests/src/VuFindTest/Cover/RouterTest.php 104 additions, 0 deletions...Find/tests/unit-tests/src/VuFindTest/Cover/RouterTest.php
- module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php 2 additions, 1 deletion...unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php
Please register or sign in to comment