. */ /** * Plenaries object. */ require_once(FILESYSTEMROOTPATH."include/model/AbstractMySQL.php"); class Plenaries extends AbstractMySQL { /** id */ private $id; /** agoraId */ private $agoraId; /** name */ private $name; /** number */ private $number; /** starting time of the plenary*/ private $open; /** finishing time of the plenary*/ private $close; /** status */ private $status; /** * Constructor */ public function __construct($data) { parent::__construct($data); if( is_array($data) ) { $this->id = $data['id']; $this->agoraId = $data['agoraId']; $this->name = $data['name']; $this->number = $data['number']; $this->open = $data['open']; $this->close = $data['close']; $this->status = $data['status']; } else { $this->id = ""; $this->agoraId = ""; $this->name = ""; $this->number = ""; $this->open = ""; $this->close = ""; $this->status = ""; } } public function getId() { return $this->id; } public function setId($id) { $this->id = $id; } public function getAgoraId() { return $this->agoraId; } public function setAgoraId($agoraId) { $this->agoraId = $agoraId; } public function getName() { return $this->name; } public function setName($name) { $this->name = $name; } public function getNumber() { return $this->number; } public function setNumber($number) { $this->number = $number; } public function getOpen() { return $this->open; } public function setOpen($open) { $this->open = $open; } public function getClose() { return $this->close; } public function setClose($close) { $this->close = $close; } public function getStatus() { return $this->status; } public function setStatus($status) { $this->status = $status; } } ?>