init() public method

public init ( )
Esempio n. 1
0
 public function init()
 {
     parent::init();
     /*$this->owner->addRule($this->getAttributeName(), 'in', [
           'range' => $this->getOptions(),
       ]);*/
 }
Esempio n. 2
0
 public function init()
 {
     parent::init();
     //$this->owner->addRule($this->getAttributeName(), 'string', ['max' => 255]);
 }