noalyss  Version-6.7.2
Public Member Functions
Anc_Acc_Link Class Reference
Inheritance diagram for Anc_Acc_Link:
Anc_Print Anc_Acc_List Anc_Table

Public Member Functions

 __contruct ($p_cn)
 get_request ()
 get the parameters
 set_sql_filter ()
 Set the filter (account_date)

Detailed Description

Definition at line 27 of file class_anc_acc_link.php.


Member Function Documentation

Definition at line 29 of file class_anc_acc_link.php.

References cn.

  {
    $this->cn=$p_cn;
  }

get the parameters

Reimplemented from Anc_Print.

Definition at line 37 of file class_anc_acc_link.php.

References $_GET, and HtmlInput\default_value().

  {
    parent::get_request();
    $this->card_poste=HtmlInput::default_value('card_poste',1,$_GET);
  }

Set the filter (account_date)

Returns:
return the string to add to load

Reimplemented from Anc_Print.

Definition at line 42 of file class_anc_acc_link.php.

References $sql, from, and to.

Referenced by Anc_Acc_List\load_anc_account(), Anc_Acc_List\load_anc_card(), Anc_Acc_List\load_card(), and Anc_Acc_List\load_poste().

    {
        $sql="";
        $and=" and ";
        if ( $this->from != "" )
        {
            $sql.="$and oa_date >= to_date('".$this->from."','DD.MM.YYYY')";
        }
        if ( $this->to != "" )
        {
            $sql.=" $and oa_date <= to_date('".$this->to."','DD.MM.YYYY')";
        }

        return $sql;

    }

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations