Code improvement : change fiche function

getAttribut becomes load_attribute,
 strAttribut becomes set_attribute
getAttribut becomes get_attribute
This commit is contained in:
sparkyx 2025-08-01 17:44:22 +02:00
parent bec8b39afa
commit 6c3154abbd
45 changed files with 316 additions and 311 deletions

View file

@ -42,7 +42,7 @@ if ( isset ($_GET['fd_id']))
$e=$fiche_def->get_by_type(inactive: $http->request('inactive'));
$o=0;
// Heading
$fiche_def->GetAttribut();
$fiche_def->load_attribute();
$title=array();
foreach ($fiche_def->attribut as $attribut)
{
@ -56,7 +56,7 @@ if ( isset ($_GET['fd_id']))
{
$detail=new Fiche($cn,$fiche['f_id']);
$detail->getAttribut();
$detail->load_attribute();
foreach ( $detail->attribut as $dattribut )
{