noalyss Version-9
Variables
export_security_pdf.php File Reference

Print the user security in pdf. More...

Go to the source code of this file.

Variables

 $access =$SecUser->get_folder_access($gDossier)
 
 $admin =0
 
 $cn =Dossier::connect()
 
for( $i=0 ; $i< $Max; $i++) $fDate =date('dmy-HI')
 
 $gDossier =dossier::id()
 
 $http =new HttpInput()
 
 $Max =Database::num_row($Res)
 
if($access=='L') elseif($access=='R') elseif( $access=='P') if( $SecUser->admin==1) $pdf =new PDF($cn)
 
catch(Exception $exc) $rep =new Database()
 
 $Res =$cn->exec_sql("select jrn_def_id,jrn_def_name from jrn_def ")
 
 $SecUser =new Noalyss_user($rep,$user_id)
 
 $str_user
 
 $User =new Noalyss_user($rep)
 
$SecUser db =$cn
 
 try
 

Detailed Description

Print the user security in pdf.

Definition in file export_security_pdf.php.

Variable Documentation

◆ $access

$access =$SecUser->get_folder_access($gDossier)

Definition at line 52 of file export_security_pdf.php.

◆ $admin

$admin =0

Definition at line 51 of file export_security_pdf.php.

◆ $cn

Definition at line 29 of file export_security_pdf.php.

◆ $fDate

for ($i=0 ;$i< $Max;$i++) $fDate ( ) =date('dmy-HI')

Definition at line 182 of file export_security_pdf.php.

◆ $gDossier

$gDossier =dossier::id()

Definition at line 25 of file export_security_pdf.php.

◆ $http

$http =new HttpInput()

Definition at line 27 of file export_security_pdf.php.

◆ $Max

$Max =Database::num_row($Res)

◆ $pdf

if( $access=='L') elseif( $access=='R') elseif($access=='P') if ($SecUser->admin==1) $pdf =new PDF($cn)

Definition at line 79 of file export_security_pdf.php.

◆ $rep

catch (Exception $exc) $rep =new Database()

Definition at line 44 of file export_security_pdf.php.

◆ $Res

$Res =$cn->exec_sql("select jrn_def_id,jrn_def_name from jrn_def ")

Definition at line 117 of file export_security_pdf.php.

◆ $SecUser

$SecUser =new Noalyss_user($rep,$user_id)

Definition at line 50 of file export_security_pdf.php.

◆ $str_user

$str_user
Initial value:
=sprintf("( %d ) %s %s [ %s ] - %s",
$SecUser->id,
$SecUser->first_name,
$SecUser->name,
$SecUser->login,
$str
Definition: fiche.inc.php:91

Definition at line 86 of file export_security_pdf.php.

◆ $User

$User =new Noalyss_user($rep)

Definition at line 45 of file export_security_pdf.php.

◆ db

$SecUser db =$cn

Definition at line 118 of file export_security_pdf.php.

Referenced by Anc_Group\__construct(), Lettering\__construct(), Acc_Reconciliation\__construct(), Pre_operation\__construct(), Acc_Balance\__construct(), Acc_Bilan\__construct(), Acc_Operation\__construct(), Anc_Print\__construct(), Noalyss_Parameter_Folder\__construct(), Pre_operation_detail\__construct(), Document\__construct(), Fiche_Def_Ref\__construct(), Acc_Account_Ledger\__construct(), Acc_Ledger\__construct(), Acc_Parm_Code\__construct(), Document_Type\__construct(), Noalyss_User\__construct(), Anc_Group_Operation\__construct(), Anc_Operation\__construct(), Anc_Plan\__construct(), Follow_Up\__construct(), Follow_Up_Detail\__construct(), Follow_Up_Other_Concerned\__construct(), Progress_Bar\__construct(), DatabaseCore\__construct(), Prepared_Query\__construct(), Acc_Ledger_History\__construct(), Tax_Summary\__construct(), Acc_Account\__construct(), Acc_Operation\__toString(), Anc_Operation\add(), Anc_Group_Operation\add(), Anc_Plan\add(), Acc_Ledger_History\add_additional_tax_info(), Acc_Ledger_History_Purchase\add_vat_info(), Acc_Ledger_History_Sale\add_vat_info(), Progress_Bar\answer(), Acc_Reconciliation\auto_letter(), Document\blank(), Pre_operation\blank(), Tax_Summary\check(), Acc_Ledger\check_payment(), Pre_operation\choose_ledger(), DatabaseCore\clear_all_prepare(), DatabaseCore\clear_prepare(), DatabaseCore\close(), Acc_Sold\compute_array(), Acc_Purchase\compute_array(), Acc_Fin\compute_array(), Pre_operation\compute_array(), Acc_Bilan\compute_formula(), Acc_Ledger_Fin\confirm(), Acc_Ledger\confirm(), Acc_Ledger_Purchase\confirm(), Acc_Ledger_Sale\confirm(), Acc_Ledger\convert_from_follow(), Acc_Account\count(), Anc_Plan\count(), Pre_operation\count(), Acc_Ledger\create_document(), Anc_Table\create_temp_table_account(), Anc_Table\create_temp_table_card(), Acc_Ledger\CurrencyInput(), Acc_Ledger\delete(), Anc_Operation\delete(), Anc_Plan\delete(), Follow_Up_Detail\delete(), Pre_operation\delete(), Anc_Operation\delete_by_jid(), Acc_Ledger\delete_ledger(), Pre_op_ach\display(), Pre_Op_Advanced\display(), Pre_op_ven\display(), Follow_Up\display(), Follow_Up\display_children(), Acc_Bilan\display_form(), Anc_Print\display_form(), Anc_Balance_Double\display_form(), Anc_Operation\display_form_plan(), Anc_GrandLivre\display_html(), Anc_Table\display_html(), Acc_Ledger\display_ledger(), Follow_Up_Other_Concerned\display_linked_count(), Pre_operation\display_list_operation(), Acc_Ledger\display_negative_warning(), Follow_Up\display_parent(), Anc_Balance_Double\display_pdf(), Anc_Balance_Simple\display_pdf(), Follow_Up_Other_Concerned\display_row(), Acc_Account_Ledger\do_exist(), Document\download(), DatabaseCore\exec_sql(), DatabaseCore\execute(), Anc_Plan\exist(), Acc_Ledger\existing_vat(), Acc_Ledger_History_Financial\export_accounting_html(), Acc_Ledger_History_Purchase\export_accounting_html(), Acc_Ledger_History_Sale\export_accounting_html(), Follow_Up\export_csv(), Acc_Ledger_History_Purchase\export_csv(), Acc_Ledger_History_Sale\export_csv(), Anc_Table\export_csv(), Follow_Up\export_csv_detail(), Acc_Ledger_History_Purchase\export_detail_html(), Acc_Ledger_History_Sale\export_detail_html(), Acc_Ledger_History_Financial\export_extended_html(), Document\export_file(), Acc_Ledger_History_Generic\export_oneline_html(), Acc_Ledger_Purchase\extra_info(), Acc_Ledger_Sale\extra_info(), Acc_Reconciliation\fill_info(), Acc_Account\find_by_value(), Acc_Account_Ledger\find_card(), Acc_Ledger\find_label(), Acc_Account\find_parent(), Acc_Operation\find_tiers(), Anc_Group_Operation\form(), Acc_Operation\form_clone_operation(), Follow_Up_Detail\from_array(), Document\generate(), Follow_Up\generate_document(), Acc_Bilan\generate_odt(), Acc_Bilan\generate_plain(), Acc_Operation\get(), Acc_Detail\get(), Acc_Misc\get(), Acc_Sold\get(), Acc_Purchase\get(), Acc_Fin\get(), Acc_Reconciliation\get(), Anc_Plan\get(), Document\get(), Document_Type\get(), Follow_Up\get(), Acc_Account_Ledger\get_account_ledger(), Document\get_all(), Lettering_Account\get_all(), Lettering_Card\get_all(), Acc_Operation\get_amount(), Acc_Reconciliation\get_amount_noautovat(), Anc_Operation\get_balance(), Lettering_Card\get_balance_ageing(), Acc_Ledger_Fin\get_bank(), Acc_Ledger_Fin\get_bank_name(), Anc_Operation\get_by_jid(), Fiche_Def_Ref\get_by_modele(), Follow_Up\get_children(), Acc_Ledger\get_class_def(), Acc_Ledger\get_currency(), Acc_Operation\get_currency_amount(), Acc_Operation\get_data(), Acc_Ledger_History_Generic\get_detail(), Acc_Ledger_Purchase\get_detail_purchase(), Acc_Ledger_Sale\get_detail_sale(), DatabaseCore\get_encoding(), Acc_Ledger\get_fiche_def(), Lettering_Account\get_filter(), Lettering_Card\get_filter(), Anc_Group_Operation\get_from_array(), Acc_Ledger\get_id(), Acc_Operation\get_info(), Acc_Operation\get_internal(), Anc_Operation\get_jrid(), Acc_Operation\get_jrnx_detail(), Acc_Ledger\get_last(), Follow_Up\get_last(), Acc_Ledger\get_last_pj(), Follow_Up\get_late(), Acc_Operation\get_ledger(), Lettering_Account\get_letter(), Lettering_Card\get_letter(), Lettering_Account\get_letter_diff(), Lettering_Card\get_letter_diff(), Lettering\get_linked(), Anc_Operation\get_list(), Anc_Plan\get_list(), Pre_operation\get_list_ledger(), Anc_Operation\get_list_simple(), Acc_Ledger\get_min_row(), Acc_Account_Ledger\get_name(), Acc_Ledger\get_name(), Acc_Reconciliation\get_not_reconciled(), Acc_Ledger\get_operation(), Pre_operation\get_operation(), Acc_Ledger\get_operation_date(), Follow_Up_Other_Concerned\get_option(), Acc_Ledger\get_other_amount(), Follow_Up\get_parent(), Pre_operation\get_post(), Acc_Ledger\get_propertie(), Acc_Operation\get_quant(), Acc_Reconciliation\get_reconciled(), Acc_Reconciliation\get_reconciled_amount(), Anc_Group\get_result(), Acc_Account_Ledger\get_row(), Acc_Ledger_History_Financial\get_row(), Acc_Ledger_History_Purchase\get_row(), Acc_Ledger_History_Sale\get_row(), Acc_Ledger_History_Generic\get_row(), Acc_Account_Ledger\get_row_date(), Tax_Summary\get_row_purchase(), Tax_Summary\get_row_sale(), Acc_Ledger\get_rowSimple(), Acc_Ledger_History_Generic\get_rowSimple(), Acc_Account_Ledger\get_solde(), Acc_Ledger\get_solde(), Acc_Account_Ledger\get_solde_detail(), Noalyss_User\get_status_security_action(), Noalyss_User\get_status_security_ledger(), Acc_Operation\get_sum_other_tax(), Tax_Summary\get_summary_purchase(), Tax_Summary\get_summary_sale(), Acc_Ledger\get_tiers(), Acc_Ledger_History\get_tiers(), Acc_Ledger\get_tiers_id(), Acc_Ledger_History\get_tiers_id(), Follow_Up\get_today(), Acc_Account_Ledger\get_type(), Acc_Ledger\get_type(), Lettering_Account\get_unletter(), Lettering_Card\get_unletter(), Progress_Bar\get_value(), Acc_Ledger\has_other_tax(), Acc_Ledger_History\has_other_tax(), Anc_Operation\html_table(), Acc_Account_Ledger\HtmlTable(), Acc_Ledger\inc_seq_pj(), Acc_Ledger_Fin\input(), Acc_Ledger\input(), Acc_Ledger_Purchase\input(), Acc_Ledger_Sale\input(), Acc_Ledger\input_new(), Acc_Ledger\input_paid(), Acc_Ledger_Fin\insert(), Acc_Ledger_Purchase\insert(), Acc_Ledger_Sale\insert(), Anc_Group\insert(), Follow_Up_Detail\insert(), Follow_Up\insert_action(), Lettering\insert_couple(), Acc_Operation\insert_jrn(), Acc_Operation\insert_jrnx(), Follow_Up_Other_Concerned\insert_linked_card(), Acc_Ledger_Purchase\insert_no_deductible(), Follow_Up\insert_operation(), Acc_Ledger_Fin\insert_quant_fin(), Acc_Reconciliation\insert_rapt(), Acc_Reconciliation_Lettering\insert_reconcilied(), Acc_Operation\insert_related_action(), Acc_Ledger\is_enable(), Anc_Plan\isAppend(), Acc_Account_Ledger\isTVA(), Acc_Ledger\listing(), DatabaseCore\lo_export(), DatabaseCore\lo_import(), DatabaseCore\lo_unlink(), Pre_op_ach\load(), Pre_Op_Advanced\load(), Pre_op_ods\load(), Pre_op_ven\load(), Acc_Account_Ledger\load(), Acc_Bilan\load(), Acc_Parm_Code\load(), Anc_Balance_Double\load(), Anc_Balance_Simple\load(), Anc_GrandLivre\load(), Anc_Group\load(), Anc_Listing\load(), Follow_Up_Detail\load(), Pre_op_fin\load(), Pre_operation\load(), Acc_Parm_Code\load_all(), Follow_Up_Detail\load_all(), Anc_Acc_List\load_anc_account(), Anc_Acc_List\load_anc_card(), Anc_Acc_List\load_card(), Anc_Table\load_card(), Anc_GrandLivre\load_csv(), Anc_Acc_List\load_poste(), Anc_Table\load_poste(), Document\moveDocumentPj(), Follow_Up\myList(), Anc_Group\myList(), Acc_Ledger_Fin\numb_operation(), Acc_Operation\operation_update_comment(), Acc_Operation\operation_update_date_limit(), DatabaseCore\prepare(), Prepared_Query\prepare_currency(), Acc_Ledger_History_Purchase\prepare_detail(), Acc_Ledger_History_Sale\prepare_detail(), Acc_Reconciliation\prepare_query_detail_quant(), Acc_Ledger_History\prepare_reconcile_date(), Prepared_Query\prepare_reconcile_date(), Acc_Operation\prepare_sql_counterpart(), Acc_Operation\prepare_sql_tiers(), Acc_Ledger\previous_amount(), Acc_Ledger\previous_other_tax(), Acc_Reconciliation\remove(), Anc_Group\remove(), Document\remove(), Follow_Up\remove(), Lettering\remove_incoherent(), Follow_Up_Other_Concerned\remove_linked_card(), Follow_Up\remove_operation_deprecated(), Document\replace(), Document\replace_special_tag(), Acc_Ledger\reverse(), Lettering\save(), Noalyss_Parameter_Folder\save(), Pre_op_ach\save(), Pre_Op_Advanced\save(), Pre_op_ven\save(), Pre_op_ods\save(), Acc_Parm_Code\save(), Anc_Group_Operation\save(), Follow_Up\save(), Pre_op_fin\save(), Acc_Operation\save_info(), Pre_operation\save_insert(), Acc_Ledger\save_new(), Follow_Up\save_short(), Pre_operation\save_update(), Anc_Operation\save_update_form(), Document\saveGenerated(), Acc_Ledger\search_group(), Acc_Operation\seek_group(), Acc_Operation\seek_internal(), Acc_Ledger\select_default_currency(), Acc_Ledger\select_depot(), Document\send(), Acc_Ledger\set_currency_id(), Follow_Up_Other_Concerned\set_db(), Pre_operation\set_db(), Prepared_Query\set_db(), Tax_Summary\set_db(), DatabaseCore\set_db(), DatabaseCore\set_encoding(), Document_Type\set_number(), Pre_operation\set_p_jrn(), Acc_Operation\set_paid(), Acc_Operation\set_pj(), Noalyss_User\set_session_var(), Noalyss_User\set_status_security_action(), Noalyss_User\set_status_security_ledger(), Progress_Bar\set_value(), Noalyss_User\setDb(), Pre_operation\show_button_deprecated(), Lettering\show_letter(), DatabaseCore\status(), Follow_Up\tag_add(), Follow_Up\tag_clear(), Follow_Up\tag_get(), Follow_Up\tag_remove(), Anc_Operation\to_request(), Acc_Ledger\update(), Anc_Plan\update(), Follow_Up\update(), Follow_Up_Detail\update(), Acc_Operation\update_comment(), Document\update_description(), Anc_Operation\update_from_jrnx(), Document\upload(), DatabaseCore\upload(), Acc_Ledger\use_quant_table(), Acc_Ledger\vat_operation(), Acc_Bilan\verify(), Acc_Ledger\verify_ledger(), Acc_Ledger_Fin\verify_operation(), Acc_Ledger_Purchase\verify_operation(), Acc_Ledger_Sale\verify_operation(), and Acc_Bilan\warning().

◆ try

try
Initial value:
{
$user_id=$http->get("user_id")

Definition at line 30 of file export_security_pdf.php.