コード例 #1
0
ファイル: Recipe.php プロジェクト: armourjami/armourtake
 public static function getIngredients($recipeId)
 {
     if ($ingredients = Ingredient::getIngredientsByRecipeId($recipeId)) {
         return $ingredients;
     } else {
         return false;
     }
 }