常用方法
常用方法
常用方法
常用方法
public static function getIngredients($recipeId) { if ($ingredients = Ingredient::getIngredientsByRecipeId($recipeId)) { return $ingredients; } else { return false; } }
public static function getIngredients($recipeId) { if ($ingredients = Ingredient::getIngredientsByRecipeId($recipeId)) { return $ingredients; } else { return false; } }