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) ? '{/prefix}survey/list' : '{/prefix}survey/list?{?}&id=' . \reset($surveys)->getId() . '&ptype=p'; $next = empty($surveys) ? '{/prefix}survey/list' : '{/prefix}survey/list?{?}&id=' . \end($surveys)->getId() . '&ptype=n'; echo $this->getData('nav')->render(); ?>
| = $this->getHtml('Name'); ?> | = $this->getHtml('Tag'); ?> | = $this->getHtml('Creator'); ?> | = $this->getHtml('Created'); ?> | |||
| .. | $value) : ++$count; $url = UriFactory::build('{/prefix}survey/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->name); ?> | |||||
| = $this->printHtml($value->name); ?> | = $this->printHtml($value->createdBy->name1); ?> | = $this->printHtml($value->createdAt->format('Y-m-d')); ?> $value) : ++$count; $url = UriFactory::build('{/prefix}survey/edit?{?}&id=' . $value->getId()); ?> | ||||
| = $value->getL11n()->title; ?> | = $value->createdBy->name1; ?> | = $value->createdAt->format('Y-m-d'); ?> | ||||
| = $this->getHtml('Empty', '0', '0'); ?> | ||||||