getData('surveys') ?? []; /** @var \Modules\Admin\Models\Account $account */ $account = $this->getData('account'); $accountDir = $account->getId() . ' ' . $account->login; /** @var \Modules\Media\Models\Collection[] */ $collections = $this->getData('collections'); $mediaPath = \urldecode($this->getData('path') ?? '/'); $previous = empty($surveys) ? '{/lang}/{/app}/survey/list' : '{/lang}/{/app}/survey/list?{?}&id=' . \reset($surveys)->getId() . '&ptype=p'; $next = empty($surveys) ? '{/lang}/{/app}/survey/list' : '{/lang}/{/app}/survey/list?{?}&id=' . \end($surveys)->getId() . '&ptype=n'; echo $this->getData('nav')->render(); ?>
getHtml('Surveys'); ?>
getHtml('Name'); ?> getHtml('Tag'); ?> getHtml('Creator'); ?> getHtml('Created'); ?>
.. $value) : ++$count; $url = UriFactory::build('{/lang}/{/app}/survey/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->name); ?>
printHtml($value->name); ?> printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->createdBy->name1, $value->createdBy->name2, $value->createdBy->name3, $value->createdBy->login ?? ''])); ?> printHtml($value->createdAt->format('Y-m-d')); ?> $value) : ++$count; $url = UriFactory::build('{/lang}/{/app}/survey/edit?{?}&id=' . $value->getId()); ?>
getL11n()->title; ?> printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->createdBy->name1, $value->createdBy->name2, $value->createdBy->name3, $value->createdBy->login ?? ''])); ?> createdAt->format('Y-m-d'); ?>
getHtml('Empty', '0', '0'); ?>