init() public method

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