noalyss Version-9
Public Member Functions | Static Public Member Functions
Pre_operation_detail Class Reference

mother of the pre_op_XXX, it contains only one data : an object Pre_Operation. The child class contains an array of Pre_Operation object More...

+ Inheritance diagram for Pre_operation_detail:
+ Collaboration diagram for Pre_operation_detail:

Public Member Functions

 __construct ($p_cn)
 

Static Public Member Functions

static build_detail ($p_jrn_type, Database $database)
 

Detailed Description

mother of the pre_op_XXX, it contains only one data : an object Pre_Operation. The child class contains an array of Pre_Operation object

Definition at line 523 of file pre_operation.class.php.

Constructor & Destructor Documentation

◆ __construct()

Pre_operation_detail::__construct (   $p_cn)

Reimplemented in Pre_op_ach, Pre_Op_Advanced, Pre_op_fin, Pre_op_ods, and Pre_op_ven.

Definition at line 525 of file pre_operation.class.php.

526 {
527 $this->db=$p_cn;
528
529 }
$SecUser db

References db.

Member Function Documentation

◆ build_detail()

static Pre_operation_detail::build_detail (   $p_jrn_type,
Database  $database 
)
static

Definition at line 531 of file pre_operation.class.php.

532 {
533 switch ($p_jrn_type) {
534 case 'ACH':
535 $detail=new Pre_op_ach($database);
536 break;
537 case 'VEN':
538 $detail=new Pre_Op_ven($database);
539 break;
540 case 'ODS':
541 $detail=new Pre_op_advanced($database);
542 break;
543 default:
544 throw new Exception(sprintf(_('Echec PreOperation chargement %s'),$p_jrn_type));
545 }
546 return $detail;
547 }
concerns the predefined operation for ACH ledger

References $detail.

Referenced by Pre_operation\blank(), Pre_operation\compute_array(), Pre_operation\get_post(), and Pre_operation\load().


The documentation for this class was generated from the following file: