noalyss Version-10
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 530 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 533 of file pre_operation.class.php.

534 {
535 $this->db=$p_cn;
536
537 }
$SecUser db

References db.

Member Function Documentation

◆ build_detail()

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

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

540 {
541 switch ($p_jrn_type) {
542 case 'ACH':
543 $detail=new Pre_op_ach($database);
544 break;
545 case 'VEN':
546 $detail=new Pre_Op_ven($database);
547 break;
548 case 'ODS':
549 $detail=new Pre_op_advanced($database);
550 break;
551 default:
552 throw new Exception(sprintf(_('Echec PreOperation chargement %s'),$p_jrn_type));
553 }
554 return $detail;
555 }
_("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 532 of file pre_operation.class.php.


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