Bonjour

j'ai crée une classe pour une forme

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
 
class Form_User extends Zend_Form {
	public function init() {
		parent::__construct();
	}
	public function __construct() {
		parent::__construct();
		$champText = new Zend_Form_Element_Text ( 'champText' );
		$champText->setLabel ( 'un champ texte' )->setRequired ( true )->addValidator ( 'notEmpty' )->addFilter ( 'StripTags' )->addFilter ( 'StringTrim' );
 
	}
 
}

Quand je instancie je me trouve avec ce message d'erreur

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes) in C:\xampp\php\PEAR\Zend\Form.php on line 4
Qu'est ce que j'ai fais comme bêtise cette fois ci

Merci d'avance.