Esempio n. 1
0
 /**
  * @ignore
  *
  * @param array $opts
  *
  * @return CharField
  */
 public static function CharField($opts = [])
 {
     return CharField::createObject($opts);
 }
Esempio n. 2
0
 public function __construct($config = [])
 {
     // max_length=254 to be compliant with RFCs 3696 and 5321
     $config['maxLength'] = ArrayHelper::getValue($config, 'maxLength', 254);
     parent::__construct($config);
 }