init() public méthode

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