<?php
- class Produit extends AppModel {
+ class Command extends AppModel {
public $validate = array(
- /*'fqdn' => array(
- 'rule' => 'notEmpty'
- ),*/
- /*'nom' => array(
- 'rule' => 'notEmpty'
- ),*/
- 'valeur' => array(
+ 'value' => array(
'rule' => 'notEmpty'
)
);
return false;
}
}
-?>