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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (hide annotations)
Mon Feb 14 20:04:45 2011 UTC (13 years, 11 months ago) by fraynaud
File size: 852 byte(s)
om4



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     $imgv="<img src='../img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";
13     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