* @param Zend\Db\ResultSet $people */ use Application\Models\Person; use Blossom\Classes\View; ?>

translate(['person','people',2]); $helper = $this->template->getHelper('buttonLink'); if (Person::isAllowed('people')) { echo $helper->buttonLink( BASE_URI.'/people/update', $this->translate('add_person'), 'add' ); } ?>

people as $person) { $editButton = ''; if (Person::isAllowed('people')) { $editButton = $helper->buttonLink( BASE_URI.'/people/update?person_id='.$person->getId(), $this->translate('edit'), 'edit' ); } $name = View::escape($person->getFullname()); echo " "; } ?>
_('username'); ?> _('name'); ?> _(['email','emails',1]); ?>
$editButton {$person->getUsername()} getURL()}\">$name {$person->getEmail()}