| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/iscmbt-kufa-atu/public_html/iscmbt/pages/authorDashboard/ |
Upload File : |
<?php
/**
* @file pages/authorDashboard/AuthorDashboardHandler.php
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class AuthorDashboardHandler
*
* @ingroup pages_authorDashboard
*
* @brief Handle requests for the author dashboard.
*/
namespace APP\pages\authorDashboard;
use APP\facades\Repo;
use APP\publication\Publication;
use PKP\components\forms\publication\TitleAbstractForm;
use PKP\context\Context;
use PKP\core\PKPApplication;
use PKP\pages\authorDashboard\PKPAuthorDashboardHandler;
class AuthorDashboardHandler extends PKPAuthorDashboardHandler
{
protected function _getRepresentationsGridUrl($request, $submission)
{
return $request->getDispatcher()->url(
$request,
PKPApplication::ROUTE_COMPONENT,
null,
'grid.articleGalleys.ArticleGalleyGridHandler',
'fetchGrid',
null,
[
'submissionId' => $submission->getId(),
'publicationId' => '__publicationId__',
]
);
}
protected function getTitleAbstractForm(string $latestPublicationApiUrl, array $locales, Publication $latestPublication, Context $context): TitleAbstractForm
{
$section = Repo::section()->get($latestPublication->getData('sectionId'), $context->getId());
return new TitleAbstractForm(
$latestPublicationApiUrl,
$locales,
$latestPublication,
(int) $section->getData('wordCount'),
!$section->getData('abstractsNotRequired')
);
}
}