[eluser]juan1904[/eluser]
Hi,
I'm making a playoff schedule for a PS3 EA Sports NHL09 league.
I'm going to make an own class called Game something like this:
Code:
class Game {
$hometeam;
$awayteam;
function __construct($home, away) {
this.$hometeam = $home;
this.$awayteam = $away;
}
// and some more code here!
}
Then in my controller or in a model I'm gonna make new objects out of this class like $game1 = new Game("Red Wings", "Penguins");
I wonder where to put my new class in codeigniter framework?