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