for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Password change modal view file.
*
* @package View
* @copyright YetiForce Sp. z o.o
* @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
* @author Arkadiusz Sołek <[email protected]>
*/
namespace YF\Modules\Users\View;
* Password change modal view class.
class PasswordChangeModal extends \App\Controller\Modal
{
/** {@inheritdoc} */
public function checkPermission(): void
}
public function getTitle(): string
return \App\Language::translate('LBL_CHANGE_PASSWORD', $this->moduleName);
public function getModalSize(): string
return 'modal-lg';
public function getModalIcon(): string
return 'yfi yfi-change-passowrd';
public function process(): void
$request = $this->request;
$moduleName = $request->getModule();
$this->viewer->view('Modal/PasswordChangeModal.tpl', $moduleName);
public function postProcessAjax(): void
$this->viewer->view('Modal/PasswordChangeModalFooter.tpl', $request->getModule());