/[openfoncier]/trunk/obj/transition.class.php
ViewVC logotype

Annotation of /trunk/obj/transition.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 116 - (hide annotations)
Fri Sep 2 08:43:32 2011 UTC (13 years, 5 months ago) by fraynaud
File size: 856 byte(s)
remplacement image app et om-css



1 fraynaud 3 <?php
2     //$Id$
3     //gen openMairie le 10/02/2011 20:37
4     require_once ("../gen/obj/transition.class.php");
5    
6     class transition extends transition_gen {
7    
8 fraynaud 10 function verifier($val,&$db,$DEBUG) {
9     parent::verifier($val,$db,$DEBUG);
10     $imgv="";
11     $f="&nbsp!&nbsp;&nbsp;&nbsp;&nbsp;";
12 fraynaud 116 $imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";
13 fraynaud 10 if ($this->valF['action']==""){
14     $this->correct=false;
15     $this->msg= $this->msg.$imgv." "._("action")." ".
16     _("obligatoire").$f;
17     }
18     }
19 fraynaud 3 function transition($id,&$db,$debug) {
20     $this->constructeur($id,$db,$debug);
21     }// fin constructeur
22    
23 fraynaud 10 function setTaille(&$form,$maj){
24     $form->setTaille('action', 20);
25     $form->setTaille('etat', 20);
26     }
27    
28     function setMax(&$form,$maj){
29     $form->setMax('action', 20);
30     $form->setMax('etat', 20);
31     }
32    
33 fraynaud 3 }// fin classe
34     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26