S_NAME; $I_time = $O_recipe->I_TIME; $S_descr = $O_recipe->S_DESCR; $A_instructions = $O_recipe->getSplitInstructions(); $S_difficultyName = $O_recipe->getDifficulty()->S_NAME; $A_parts = array(); foreach(ParticularityModel::searchByRecipe($O_recipe->I_ID) as $O_part){ array_push($A_parts, $O_part->S_NAME); } $A_ingredients = $O_recipe->getIngredients(); } ?>

← Retour
" method="post" enctype="multipart/form-data">

Informations alimentaires

Particularités du plat : > > > >

Ingrédients

    0) { $i = 1; foreach($A_ingredients as $O_ingredient) { echo '
  • '; $i++; } echo '
'; $numberOfIngredients = $i-1; } else { echo '
  • '; $numberOfIngredients = 1; } ?>

    Préparation

    '; $numberOfInstructions = 1; } else { $i = 1; foreach($A_instructions as $S_instr) { echo '
  • '; $i++; } $numberOfInstructions = $i-1; echo ' '; } ?>