|
|
|
|
|
|
|
|
return [ |
|
|
return [ |
|
|
[['no_mail', 'mail_distribution_monday', 'mail_distribution_tuesday', 'mail_distribution_wednesday', 'mail_distribution_thursday', 'mail_distribution_friday', 'mail_distribution_saturday', 'mail_distribution_sunday'], 'boolean'], |
|
|
[['no_mail', 'mail_distribution_monday', 'mail_distribution_tuesday', 'mail_distribution_wednesday', 'mail_distribution_thursday', 'mail_distribution_friday', 'mail_distribution_saturday', 'mail_distribution_sunday'], 'boolean'], |
|
|
[['lastname', 'name', 'phone', 'address'], 'string'], |
|
|
[['lastname', 'name', 'phone', 'address'], 'string'], |
|
|
[['lastname', 'name'], 'required', 'message' => 'Ce champs ne peut être vide'], |
|
|
|
|
|
|
|
|
[['lastname'], 'required', 'message' => 'Ce champs ne peut être vide'], |
|
|
['email', 'email', 'message' => 'Cette adresse email n\'est pas valide'], |
|
|
['email', 'email', 'message' => 'Cette adresse email n\'est pas valide'], |
|
|
['email', 'verifyEmail'], |
|
|
['email', 'verifyEmail'], |
|
|
['status', 'default', 'value' => self::STATUS_ACTIVE], |
|
|
['status', 'default', 'value' => self::STATUS_ACTIVE], |