noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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)
 

Protected Attributes

 $db
 

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 528 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 531 of file pre_operation.class.php.

532 {
533 $this->db=$p_cn;
534
535 }
$SecUser db

References db.

Member Function Documentation

◆ build_detail()

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

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

538 {
539 switch ($p_jrn_type) {
540 case 'ACH':
541 $detail=new Pre_op_ach($database);
542 break;
543 case 'VEN':
544 $detail=new Pre_Op_ven($database);
545 break;
546 case 'ODS':
547 $detail=new Pre_op_advanced($database);
548 break;
549 default:
550 throw new Exception(sprintf(_('Echec PreOperation chargement %s'),$p_jrn_type));
551 }
552 return $detail;
553 }
_("actif, passif,charge,...")

References $detail, and _.

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

Field Documentation

◆ $db

Pre_operation_detail::$db
protected

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


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