for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class UserCheckboxField
*
* @author Bram de Leeuw
* @package UserTextField
*/
class UserCheckboxField extends Broarm\EventTickets\UserField
{
* @var CheckboxField
protected $fieldType = 'CheckboxField';
* Get the value in a readable manner
* @return string
public function getNiceValue()
return (bool)$this->getField('Value')
? _t('Boolean.YESANSWER', 'Yes')
: _t('Boolean.NOANSWER', 'No');
}