コード例 #1
0
ファイル: Project.php プロジェクト: JovanRis/Demola2
 public static function getProjects($Category)
 {
     if ($Category == 'all') {
         return MyDB::getAllProjects();
     } else {
         return MyDB::getProjectByCategory($Category);
     }
 }