public function getValidationRules() { $rules = parent::getValidationRules(); $rules[] = 'image'; return $rules; }
public function getParams() { return parent::getParams() + ['name' => $this->name(), 'label' => $this->label(), 'value' => $this->value()]; }
public function initialize() { parent::initialize(); $this->custom(true); }
function __construct($handler) { parent::__construct(null, null); $this->handler = $handler; }