Bonjour
c'est quoi ce & ?Code:
1
2
3
4
5
6
7
8
9
10//! Un constructeur. /** * Construit un nouvel objet ProductView * * @param object $model une instance de la classe ProductModel */ function ProductView (&$model) { $this->model=& $model;
Merci :D
Version imprimable
Bonjour
c'est quoi ce & ?Code:
1
2
3
4
5
6
7
8
9
10//! Un constructeur. /** * Construit un nouvel objet ProductView * * @param object $model une instance de la classe ProductModel */ function ProductView (&$model) { $this->model=& $model;
Merci :D
C'est un passage par reference.