noalyss Version-9
Public Member Functions | Data Fields
Fiche_Def_Ref Class Reference

fiche_def_ref, a fiche is owned by fiche_def which is owned by fiche_def_ref More...

+ Collaboration diagram for Fiche_Def_Ref:

Public Member Functions

 __construct ($p_cn, $p_frd_id=-1)
 
 get_by_modele ($p_modele)
 get category of cards by model More...
 

Data Fields

 $attribut
 
 $frd_class_base
 
 $frd_id
 
 $frd_text
 

Detailed Description

fiche_def_ref, a fiche is owned by fiche_def which is owned by fiche_def_ref

Definition at line 29 of file fiche_def_ref.class.php.

Constructor & Destructor Documentation

◆ __construct()

Fiche_Def_Ref::__construct (   $p_cn,
  $p_frd_id = -1 
)

Definition at line 37 of file fiche_def_ref.class.php.

38 {
39 $this->db=$p_cn;
40 $this->frd_id=$p_frd_id;
41 $this->attribut=array('frd_id','frd_text','frd_class_base');
42 }
$SecUser db

References db.

Member Function Documentation

◆ get_by_modele()

Fiche_Def_Ref::get_by_modele (   $p_modele)

get category of cards by model

Parameters
$p_modeleif the FRD_ID
Returns
array of category (fd_id)

Definition at line 49 of file fiche_def_ref.class.php.

50 {
51 $array = array();
52 $result = $this->db->get_array('select fd_id from fiche_def where frd_id=$1', array($p_modele));
53 for ($i = 0; $i < count($result); $i++)
54 {
55 $array[$i] = $result[$i]['fd_id'];
56 }
57 return $array;
58 }

References $array, $i, $result, and db.

Field Documentation

◆ $attribut

Fiche_Def_Ref::$attribut

array which containing list of attr

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

◆ $frd_class_base

Fiche_Def_Ref::$frd_class_base

fiche_def_ref.frd_class_base

Definition at line 33 of file fiche_def_ref.class.php.

◆ $frd_id

Fiche_Def_Ref::$frd_id

$frd_id fiche_def_ref.frd_id

Definition at line 31 of file fiche_def_ref.class.php.

◆ $frd_text

Fiche_Def_Ref::$frd_text

$frd_text fiche_def_ref.frd_tex

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


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