noalyss Version-9
Public Member Functions | Private Attributes
Periode_Ledger Class Reference

Manage the periode of a specif ledger, wrap the SQL Class Jrn_Periode_SQL. More...

+ Collaboration diagram for Periode_Ledger:

Public Member Functions

 __construct (Jrn_periode_SQL $p_jrn_periode_sql)
 
 close ()
 Close the month / periode for the ledger , Call Periode->close() More...
 
 get_jrn_periode_sql ()
 
 reopen ()
 Reopen the month / periode for the ledger , Call Periode->reopen() More...
 
 set_jrn_periode_sql ($m_jrn_periode_sql)
 

Private Attributes

 $m_jrn_periode_sql
 

Detailed Description

Manage the periode of a specif ledger, wrap the SQL Class Jrn_Periode_SQL.

See also
Periode
Periode_Ledger_Table

Definition at line 32 of file periode_ledger.class.php.

Constructor & Destructor Documentation

◆ __construct()

Periode_Ledger::__construct ( Jrn_periode_SQL  $p_jrn_periode_sql)

Definition at line 35 of file periode_ledger.class.php.

36 {
37 $this->m_jrn_periode_sql=$p_jrn_periode_sql;
38 }

Member Function Documentation

◆ close()

Periode_Ledger::close ( )

Close the month / periode for the ledger , Call Periode->close()

See also
Periode::close

Definition at line 53 of file periode_ledger.class.php.

54 {
56 $jrn_periode_sql=$this->m_jrn_periode_sql;
57 $periode=new Periode($cn,$jrn_periode_sql->getp("p_id"));
58 $periode->set_ledger($this->m_jrn_periode_sql->getp("jrn_def_id"));
59 $periode->close();
60 }
static connect()
For the periode tables parm_periode and jrn_periode.

References $cn, $m_jrn_periode_sql, $periode, and Dossier\connect().

+ Here is the call graph for this function:

◆ get_jrn_periode_sql()

Periode_Ledger::get_jrn_periode_sql ( )

Definition at line 39 of file periode_ledger.class.php.

40 {
42 }

References $m_jrn_periode_sql.

◆ reopen()

Periode_Ledger::reopen ( )

Reopen the month / periode for the ledger , Call Periode->reopen()

See also
Periode::reopen

Definition at line 66 of file periode_ledger.class.php.

67 {
69 $periode=new Periode($cn,$this->m_jrn_periode_sql->getp("p_id"));
70 $periode->jrn_def_id=$this->m_jrn_periode_sql->getp("jrn_def_id");
71 $periode->reopen();
72 }

References $cn, $periode, and Dossier\connect().

+ Here is the call graph for this function:

◆ set_jrn_periode_sql()

Periode_Ledger::set_jrn_periode_sql (   $m_jrn_periode_sql)

Definition at line 44 of file periode_ledger.class.php.

45 {
46 $this->m_jrn_periode_sql=$m_jrn_periode_sql;
47 }

References $m_jrn_periode_sql.

Field Documentation

◆ $m_jrn_periode_sql

Periode_Ledger::$m_jrn_periode_sql
private

Definition at line 34 of file periode_ledger.class.php.

Referenced by close(), get_jrn_periode_sql(), and set_jrn_periode_sql().


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