23 lines
344 B
PHP
23 lines
344 B
PHP
<?php
|
|
class Board {
|
|
public $id;
|
|
public $name;
|
|
public $permLevel;
|
|
function __construct($id, $name, $permLevel){
|
|
$this->id = $id;
|
|
$this->name = $name;
|
|
$this->permLevel = $permLevel;
|
|
}
|
|
function getId(){
|
|
return $this->id;
|
|
}
|
|
function getName(){
|
|
return $this->$name;
|
|
}
|
|
function getPermLevel(){
|
|
return $this->$permLevel;
|
|
}
|
|
|
|
}
|
|
|