コード例 #1
0
ファイル: integer.php プロジェクト: Jille/dingesform
 function fillRestrictions()
 {
     parent::fillRestrictions();
     if ($this->min !== NULL) {
         $this->setRestriction('min', $this->min);
     }
     if ($this->max !== NULL) {
         $this->setRestriction('max', $this->max);
     }
 }