for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Records list view file.
*
* @package View
* @copyright YetiForce Sp. z o.o.
* @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
* @author Mariusz Krzaczkowski <[email protected]>
* @author Radosław Skrzypczak <[email protected]>
*/
namespace YF\Modules\Base\View;
* Records list view class.
class ListView extends \App\Controller\View
{
/** {@inheritdoc} */
public function process()
$listViewModel = \YF\Modules\Base\Model\ListView::getInstance($this->moduleName, $this->request->getAction());
$this->viewer->assign('HEADERS', $listViewModel->getHeaders());
$this->viewer->assign('LIST_VIEW_MODEL', $listViewModel);
$this->viewer->view($this->processTplName(), $this->moduleName);
}
protected function processTplName(): string
return 'List/ListView.tpl';