Skip to content
Snippets Groups Projects
Commit 71a96337 authored by Demian Katz's avatar Demian Katz
Browse files

Now that theme logic has its own module, changed the namespace of the view...

Now that theme logic has its own module, changed the namespace of the view helpers to something more logical.
parent 0c34784f
No related merge requests found
Showing
with 61 additions and 61 deletions
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://www.vufind.org Main Page * @link http://www.vufind.org Main Page
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use Zend\View\Helper\AbstractHelper; use Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org Main Site * @link http://vufind.org Main Site
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use VuFind\Config\Reader as ConfigReader, Zend\View\Helper\AbstractHelper; use VuFind\Config\Reader as ConfigReader, Zend\View\Helper\AbstractHelper;
/** /**
...@@ -44,7 +44,7 @@ class SyndeticsPlus extends AbstractHelper ...@@ -44,7 +44,7 @@ class SyndeticsPlus extends AbstractHelper
/** /**
* Provides access to other class methods. * Provides access to other class methods.
* *
* @return \VuFind\Theme\Root\Helper\SyndeticsPlus * @return SyndeticsPlus
*/ */
public function __invoke() public function __invoke()
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use VuFind\Config\Reader as ConfigReader, Zend\View\Helper\AbstractHelper; use VuFind\Config\Reader as ConfigReader, Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use Zend\View\Helper\AbstractHelper; use Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use Zend\I18n\Exception\RuntimeException, use Zend\I18n\Exception\RuntimeException,
Zend\I18n\View\Helper\AbstractTranslatorHelper; Zend\I18n\View\Helper\AbstractTranslatorHelper;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use Zend\View\Helper\AbstractHelper; use Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use VuFind\Db\Row\UserList as UserListRow, Zend\View\Helper\AbstractHelper; use VuFind\Db\Row\UserList as UserListRow, Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\Root\Helper; namespace VuFind\View\Helper\Root;
use DOMDocument; use DOMDocument;
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/building_a_recommendations_module Wiki * @link http://vufind.org/wiki/building_a_recommendations_module Wiki
*/ */
namespace VuFind\Theme\jQueryMobile\Helper; namespace VuFind\View\Helper\jQueryMobile;
use Zend\View\Helper\AbstractHelper; use Zend\View\Helper\AbstractHelper;
/** /**
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/unit_tests Wiki * @link http://vufind.org/wiki/unit_tests Wiki
*/ */
namespace VuFind\IntegrationTest\Theme\Root\Helper; namespace VuFind\IntegrationTest\View\Helper\Root;
use VuFind\Theme\Root\Helper\ResultFeed; use VuFind\View\Helper\Root\ResultFeed;
/** /**
* ResultFeed Test Class * ResultFeed Test Class
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://vufind.org/wiki/unit_tests Wiki * @link http://vufind.org/wiki/unit_tests Wiki
*/ */
namespace VuFind\Test\Theme\Root\Helper; namespace VuFind\Test\View\Helper\Root;
use VuFind\Theme\Root\Helper\Citation; use VuFind\View\Helper\Root\Citation;
/** /**
* CitationBuilder Test Class * CitationBuilder Test Class
......
...@@ -22,8 +22,8 @@ return array( ...@@ -22,8 +22,8 @@ return array(
'favicon' => 'vufind-favicon.ico', 'favicon' => 'vufind-favicon.ico',
'helpers' => array( 'helpers' => array(
'invokables' => array( 'invokables' => array(
'layoutclass' => 'VuFind\Theme\Blueprint\Helper\LayoutClass', 'layoutclass' => 'VuFind\View\Helper\Blueprint\LayoutClass',
'search' => 'VuFind\Theme\Blueprint\Helper\Search', 'search' => 'VuFind\View\Helper\Blueprint\Search',
) )
) )
); );
\ No newline at end of file
...@@ -18,7 +18,7 @@ return array( ...@@ -18,7 +18,7 @@ return array(
'favicon' => 'vufind-favicon.ico', 'favicon' => 'vufind-favicon.ico',
'helpers' => array( 'helpers' => array(
'invokables' => array( 'invokables' => array(
'mobilemenu' => 'VuFind\Theme\jQueryMobile\Helper\MobileMenu' 'mobilemenu' => 'VuFind\View\Helper\jQueryMobile\MobileMenu'
) )
), ),
); );
\ No newline at end of file
...@@ -3,50 +3,50 @@ return array( ...@@ -3,50 +3,50 @@ return array(
'extends' => false, 'extends' => false,
'helpers' => array( 'helpers' => array(
'invokables' => array( 'invokables' => array(
'addellipsis' => 'VuFind\Theme\Root\Helper\AddEllipsis', 'addellipsis' => 'VuFind\View\Helper\Root\AddEllipsis',
'addthis' => 'VuFind\Theme\Root\Helper\AddThis', 'addthis' => 'VuFind\View\Helper\Root\AddThis',
'auth' => 'VuFind\Theme\Root\Helper\Auth', 'auth' => 'VuFind\View\Helper\Root\Auth',
'authornotes' => 'VuFind\Theme\Root\Helper\AuthorNotes', 'authornotes' => 'VuFind\View\Helper\Root\AuthorNotes',
'browse' => 'VuFind\Theme\Root\Helper\Browse', 'browse' => 'VuFind\View\Helper\Root\Browse',
'cart' => 'VuFind\Theme\Root\Helper\Cart', 'cart' => 'VuFind\View\Helper\Root\Cart',
'citation' => 'VuFind\Theme\Root\Helper\Citation', 'citation' => 'VuFind\View\Helper\Root\Citation',
'context' => 'VuFind\Theme\Root\Helper\Context', 'context' => 'VuFind\View\Helper\Root\Context',
'currentpath' => 'VuFind\Theme\Root\Helper\CurrentPath', 'currentpath' => 'VuFind\View\Helper\Root\CurrentPath',
'datetime' => 'VuFind\Theme\Root\Helper\DateTime', 'datetime' => 'VuFind\View\Helper\Root\DateTime',
'displaylanguageoption' => 'VuFind\Theme\Root\Helper\DisplayLanguageOption', 'displaylanguageoption' => 'VuFind\View\Helper\Root\DisplayLanguageOption',
'excerpt' => 'VuFind\Theme\Root\Helper\Excerpt', 'excerpt' => 'VuFind\View\Helper\Root\Excerpt',
'flashmessages' => 'VuFind\Theme\Root\Helper\Flashmessages', 'flashmessages' => 'VuFind\View\Helper\Root\Flashmessages',
'getlastsearchlink' => 'VuFind\Theme\Root\Helper\GetLastSearchLink', 'getlastsearchlink' => 'VuFind\View\Helper\Root\GetLastSearchLink',
'headlink' => 'VuFind\Theme\Root\Helper\HeadLink', 'headlink' => 'VuFind\View\Helper\Root\HeadLink',
'headscript' => 'VuFind\Theme\Root\Helper\HeadScript', 'headscript' => 'VuFind\View\Helper\Root\HeadScript',
'headthemeresources' => 'VuFind\Theme\Root\Helper\HeadThemeResources', 'headthemeresources' => 'VuFind\View\Helper\Root\HeadThemeResources',
'highlight' => 'VuFind\Theme\Root\Helper\Highlight', 'highlight' => 'VuFind\View\Helper\Root\Highlight',
'ils' => 'VuFind\Theme\Root\Helper\Ils', 'ils' => 'VuFind\View\Helper\Root\Ils',
'imagelink' => 'VuFind\Theme\Root\Helper\ImageLink', 'imagelink' => 'VuFind\View\Helper\Root\ImageLink',
'inlinescript' => 'VuFind\Theme\Root\Helper\InlineScript', 'inlinescript' => 'VuFind\View\Helper\Root\InlineScript',
'jqueryvalidation' => 'VuFind\Theme\Root\Helper\JqueryValidation', 'jqueryvalidation' => 'VuFind\View\Helper\Root\JqueryValidation',
'mobileurl' => 'VuFind\Theme\Root\Helper\MobileUrl', 'mobileurl' => 'VuFind\View\Helper\Root\MobileUrl',
'openurl' => 'VuFind\Theme\Root\Helper\OpenUrl', 'openurl' => 'VuFind\View\Helper\Root\OpenUrl',
'printms' => 'VuFind\Theme\Root\Helper\Printms', 'printms' => 'VuFind\View\Helper\Root\Printms',
'proxyurl' => 'VuFind\Theme\Root\Helper\ProxyUrl', 'proxyurl' => 'VuFind\View\Helper\Root\ProxyUrl',
'recommend' => 'VuFind\Theme\Root\Helper\Recommend', 'recommend' => 'VuFind\View\Helper\Root\Recommend',
'record' => 'VuFind\Theme\Root\Helper\Record', 'record' => 'VuFind\View\Helper\Root\Record',
'recordlink' => 'VuFind\Theme\Root\Helper\RecordLink', 'recordlink' => 'VuFind\View\Helper\Root\RecordLink',
'related' => 'VuFind\Theme\Root\Helper\Related', 'related' => 'VuFind\View\Helper\Root\Related',
'renderarray' => 'VuFind\Theme\Root\Helper\RenderArray', 'renderarray' => 'VuFind\View\Helper\Root\RenderArray',
'resultfeed' => 'VuFind\Theme\Root\Helper\ResultFeed', 'resultfeed' => 'VuFind\View\Helper\Root\ResultFeed',
'reviews' => 'VuFind\Theme\Root\Helper\Reviews', 'reviews' => 'VuFind\View\Helper\Root\Reviews',
'searchoptions' => 'VuFind\Theme\Root\Helper\SearchOptions', 'searchoptions' => 'VuFind\View\Helper\Root\SearchOptions',
'safemoneyformat' => 'VuFind\Theme\Root\Helper\SafeMoneyFormat', 'safemoneyformat' => 'VuFind\View\Helper\Root\SafeMoneyFormat',
'sortfacetlist' => 'VuFind\Theme\Root\Helper\SortFacetList', 'sortfacetlist' => 'VuFind\View\Helper\Root\SortFacetList',
'summon' => 'VuFind\Theme\Root\Helper\Summon', 'summon' => 'VuFind\View\Helper\Root\Summon',
'syndeticsplus' => 'VuFind\Theme\Root\Helper\SyndeticsPlus', 'syndeticsplus' => 'VuFind\View\Helper\Root\SyndeticsPlus',
'systememail' => 'VuFind\Theme\Root\Helper\SystemEmail', 'systememail' => 'VuFind\View\Helper\Root\SystemEmail',
'transesc' => 'VuFind\Theme\Root\Helper\TransEsc', 'transesc' => 'VuFind\View\Helper\Root\TransEsc',
'translate' => 'VuFind\Theme\Root\Helper\Translate', 'translate' => 'VuFind\View\Helper\Root\Translate',
'truncate' => 'VuFind\Theme\Root\Helper\Truncate', 'truncate' => 'VuFind\View\Helper\Root\Truncate',
'userlist' => 'VuFind\Theme\Root\Helper\UserList', 'userlist' => 'VuFind\View\Helper\Root\UserList',
'videoclips' => 'VuFind\Theme\Root\Helper\VideoClips', 'videoclips' => 'VuFind\View\Helper\Root\VideoClips',
) )
), ),
); );
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment