noalyss Version-9
Variables
export_follow_up_contact_csv.php File Reference

export a follow up in CSV More...

Go to the source code of this file.

Variables

 $ag_id =$http->get("ag_id", "number")
 
for($i=0;$i< $nb;$i++) $aOption
 
 $aRow
 
 $csv =new Noalyss_CSV("followup".$ag_id)
 
 $document_type =$cn->get_value("select ag_type from action_gestion where ag_id=$1",[$ag_id])
 
 $http =new HttpInput()
 
 $lastcard =0
 
 $lastcat =0
 
 $nb =count($aRow)
 
 $nb_option =count($aOption)
 

Detailed Description

export a follow up in CSV

Definition in file export_follow_up_contact_csv.php.

Variable Documentation

◆ $ag_id

$ag_id =$http->get("ag_id", "number")

Definition at line 26 of file export_follow_up_contact_csv.php.

◆ $aOption

for ( $i=0; $i< $nb; $i++) $aOption ( )
Initial value:
=$cn->get_array(" select ap_value
from
action_person a
join action_person_option apo on (a.ap_id=apo.action_person_id)
join contact_option_ref cor on (cor.cor_id=apo.contact_option_ref_id)
where ag_id=$1 and f_id=$2 order by cor_id",array($ag_id,$lastcard))

Definition at line 108 of file export_follow_up_contact_csv.php.

Referenced by Action_Document_Type_MTable\input(), and Action_Document_Type_MTable\save().

◆ $aRow

$aRow
Initial value:
=$cn->get_array("select a.f_id,ap_id,ag_id,f.ad_value,f.ad_id,fd.fd_id,jfa.jnt_order
from action_person a
join fiche f1 on (a.f_id=f1.f_id)
join fiche_detail f on (a.f_id=f.f_id)
join fiche_def fd on (fd.fd_id=f1.fd_id)
join jnt_fic_attr jfa on (fd.fd_id=jfa.fd_id and jfa.ad_id=f.ad_id)
where ag_id=$1
order by f1.fd_id, a.f_id,jnt_order",[$ag_id])

Definition at line 40 of file export_follow_up_contact_csv.php.

◆ $csv

$csv =new Noalyss_CSV("followup".$ag_id)

Definition at line 35 of file export_follow_up_contact_csv.php.

◆ $document_type

$document_type =$cn->get_value("select ag_type from action_gestion where ag_id=$1",[$ag_id])

Definition at line 38 of file export_follow_up_contact_csv.php.

◆ $http

$http =new HttpInput()

Definition at line 25 of file export_follow_up_contact_csv.php.

◆ $lastcard

$lastcard =0

Definition at line 50 of file export_follow_up_contact_csv.php.

◆ $lastcat

$lastcat =0

Definition at line 50 of file export_follow_up_contact_csv.php.

◆ $nb

$nb =count($aRow)

Definition at line 49 of file export_follow_up_contact_csv.php.

◆ $nb_option

$nb_option =count($aOption)

Definition at line 114 of file export_follow_up_contact_csv.php.