1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27:
<?php
/**
* MvcCore
*
* This source file is subject to the BSD 3 License
* For the full copyright and license information, please view
* the LICENSE.md file that are distributed with this source code.
*
* @copyright Copyright (c) 2016 Tom FlĂdr (https://github.com/mvccore/mvccore)
* @license https://mvccore.github.io/docs/mvccore/4.0.0/LICENCE.md
*/
namespace MvcCore\Ext\Form;
require_once('Core/FieldGroup.php');
class RadioGroup extends Core\FieldGroup
{
public $Type = 'radio';
public $Value = '';
public $Validators = array('ValueInOptions');
public function __construct(array $cfg = array()) {
parent::__construct($cfg);
static::$Templates = (object) array_merge((array)parent::$Templates, (array)self::$Templates);
}
}