示例#1
0
 public static function getIngredients($recipeId)
 {
     if ($ingredients = Ingredient::getIngredientsByRecipeId($recipeId)) {
         return $ingredients;
     } else {
         return false;
     }
 }