Site
class Site
This class allows the storage and retrieval of the attributes of a web site in which a simulator is ran.
Properties
private Simulator | $simulator | ||
private int | $id | ||
private string | $name | ||
private string | $home |
Methods
void
getSimulator()
Returns the Simulator object that uses this web site.
int
getId()
Returns the id of this Site object
void
setId(int $id)
Sets the id of this Site object
string
getName()
Returns the name of this web site.
void
setName(string $name)
Sets the name of this web site.
string
getHome()
Returns the URL of the home page of this web site.
void
setHome(string $home)
Sets the URL of the home page of this web site.
Details
at line 80
void
__construct(Simulator $simulator, int $id, string $name, string $home)
Constructor of class Site
at line 94
Simulator
getSimulator()
Returns the Simulator object that uses this web site.
at line 105
int
getId()
Returns the id of this Site object
at line 117
void
setId(int $id)
Sets the id of this Site object
at line 128
string
getName()
Returns the name of this web site.
at line 140
void
setName(string $name)
Sets the name of this web site.
at line 151
string
getHome()
Returns the URL of the home page of this web site.
at line 163
void
setHome(string $home)
Sets the URL of the home page of this web site.