public static function brisanje($naz, $id) { $kolegij = new Kolegij(); $kolegij->delete($id); $table = new Tablice($naz, $id); $table->brisi(); }