Category : expression

I would like use Expression constraint from the form. Now, I’ve my Expression constraint in my entity, like this : /** * @ORMColumn(type="string", length=255) * @AssertChoice(choices=TypeConge::TYPE_SOLDE, message="Veuillez choisir une valeur valide.") * @AssertExpression( * "not (this.getId() != null and this.getTypeSolde() != this.getConfirmTypeSolde())", * message="Vous ne pouvez pas modifier le type de solde d’un type de ..

Read more

help me write a regex. Information is stored in this form ^Atext1**^Btext2^Htext3^Ctext4^Dtext5^Ftext6^Ytext7^Etext8 ^Atext1**^Btext2^Htext3^Ctext4^Dtext5^Etext6 ^Btext1**^Htext2^Ctext3^Dtext4^Ftext5^Stext6^Ytext7^Etext8 It would be necessary to split the string into an array $q[A] = ‘text1’; $q[B] = ‘text2’; $q[H] = ‘text3’; …….. thank Sourc..

Read more