Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a button to link to the public page of a resource. #1259

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated for Laminas.
Daniel-KM authored and Daniel Berthereau committed Jan 3, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 601bea763e83ca64db253c2b62ec7bba2617c4a4
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
namespace Omeka\Service\ViewHelper;

use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Omeka\View\Helper\DefaultSiteSlug;
use Zend\ServiceManager\Factory\FactoryInterface;

/**
* Service factory to get the default site slug, or the first site slug.
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
namespace Omeka\Service\ViewHelper;

use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Omeka\View\Helper\PublicResourceUrl;
use Zend\ServiceManager\Factory\FactoryInterface;

/**
* Service factory for the PublicResourceUrlFactory view helper.
2 changes: 1 addition & 1 deletion application/src/View/Helper/DefaultSiteSlug.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace Omeka\View\Helper;

use Zend\View\Helper\AbstractHelper;
use Laminas\View\Helper\AbstractHelper;

/**
* View helper to get the default site slug, or the first one.
2 changes: 1 addition & 1 deletion application/src/View/Helper/PublicResourceUrl.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace Omeka\View\Helper;

use Laminas\View\Helper\AbstractHelper;
use Omeka\Api\Representation\AbstractResourceRepresentation;
use Zend\View\Helper\AbstractHelper;

/**
* View helper to return the url to the public default site page of a resource.