Ejemplo n.º 1
0
 public static function getFields()
 {
     return ['LOGIN' => ['class' => CharField::className()], 'PASSWORD' => ['class' => CharField::className()], 'CHECKWORD' => ['class' => CharField::className()], 'NAME' => ['class' => CharField::className()], 'LAST_NAME' => ['class' => CharField::className()], 'SECOND_NAME' => ['class' => CharField::className()], 'EMAIL' => ['class' => EmailField::className()], 'EXTERNAL_AUTH_ID' => ['class' => CharField::className()], 'XML_ID' => ['class' => CharField::className()], 'PERSONAL_COUNTRY' => ['class' => CharField::className()], 'PERSONAL_PHONE' => ['class' => CharField::className()], 'PERSONAL_MOBILE' => ['class' => CharField::className()], 'PERSONAL_CITY' => ['class' => CharField::className()], 'ACTIVE' => ['class' => CharField::className()], 'PERSONAL_BIRTHDAY' => ['class' => DateField::className()], 'PERSONAL_NOTES' => ['class' => TextField::className()], 'PERSONAL_STREET' => ['class' => TextField::className()]];
 }
Ejemplo n.º 2
0
 public function getFormField($form, $fieldClass = null, array $extra = [])
 {
     return parent::getFormField($form, \Mindy\Form\Fields\DateTimeField::className(), $extra);
 }