noalyss Version-9
Variables
modele_document.php File Reference

Go to the source code of this file.

Variables

global $cn
 
global $doc
 
 $file =new IFile('doc')
 
 $href =http_build_query(array('gDossier'=>$dosid,'md_id'=>$doc->md_id,'act'=>'RAW:document_template'))
 
 if ($cn->exist_sequence("seq_doc_type_". $doc->md_type))
 
$w name ="md_type"
 
$w selected =$doc->md_type
 
$a value =$doc->md_name
 

Variable Documentation

◆ $cn

global $cn

Definition at line 4 of file modele_document.php.

◆ $doc

global $doc

Definition at line 4 of file modele_document.php.

◆ $file

$file =new IFile('doc')

Definition at line 72 of file modele_document.php.

◆ $href

$href =http_build_query(array('gDossier'=>$dosid,'md_id'=>$doc->md_id,'act'=>'RAW:document_template'))

Definition at line 65 of file modele_document.php.

◆ if

if( $cn->exist_sequence("seq_doc_type_". $doc->md_type)) ( $cn->  exist_sequence"seq_doc_type_". $doc->md_type)
Note
With PSQL sequence , the last_value column is 1 when before AND after the first call, to make the difference between them I have to check whether the sequence has been already called or not

Definition at line 88 of file modele_document.php.

◆ name

$waffect name ="md_type"

Definition at line 33 of file modele_document.php.

◆ selected

$waffect selected =$doc->md_type

Definition at line 36 of file modele_document.php.

◆ value

$pj value =$doc->md_name

Definition at line 19 of file modele_document.php.