From 090f820453b0d03265d65dcb5d8c61574e5ebe66 Mon Sep 17 00:00:00 2001 From: marian1010 <79144276+marian1010@users.noreply.github.com> Date: Thu, 29 Apr 2021 10:39:14 +0200 Subject: [PATCH] . --- .../includes/{film_dto.php => film.php} | 72 +++++++++---------- panel_admin/includes/film_dto_interface.php | 14 ---- 2 files changed, 36 insertions(+), 50 deletions(-) rename panel_admin/includes/{film_dto.php => film.php} (97%) delete mode 100644 panel_admin/includes/film_dto_interface.php diff --git a/panel_admin/includes/film_dto.php b/panel_admin/includes/film.php similarity index 97% rename from panel_admin/includes/film_dto.php rename to panel_admin/includes/film.php index 3b24897..475eb75 100644 --- a/panel_admin/includes/film_dto.php +++ b/panel_admin/includes/film.php @@ -1,37 +1,37 @@ -_id = $id; - $this->_tittle = $tittle; - $this->_duration = $duration; - $this->_language = $language; - $this->_description = $description; - } - - //Methods: - - //Getters && Setters: - public function setId($id){ $this->_id = $id; } - public function getId(){ return $this->_id; } - public function setTittle($tittle) {$this->_tittle = $tittle; } - public function getTittle(){return $this->_tittle;} - public function setDuration($duration){$this->_duration = $duration; } - public function getDuration() {return $this->_duration;} - public function setLanguage($language) {$this->_language = $language; } - public function getLanguage(){return $this->_language;} - public function setDescription($description){ $this->_description = $description;} - public function getDescription(){return $this->_description;} - } +_id = $id; + $this->_tittle = $tittle; + $this->_duration = $duration; + $this->_language = $language; + $this->_description = $description; + } + + //Methods: + + //Getters && Setters: + public function setId($id){ $this->_id = $id; } + public function getId(){ return $this->_id; } + public function setTittle($tittle) {$this->_tittle = $tittle; } + public function getTittle(){return $this->_tittle;} + public function setDuration($duration){$this->_duration = $duration; } + public function getDuration() {return $this->_duration;} + public function setLanguage($language) {$this->_language = $language; } + public function getLanguage(){return $this->_language;} + public function setDescription($description){ $this->_description = $description;} + public function getDescription(){return $this->_description;} + } ?> \ No newline at end of file diff --git a/panel_admin/includes/film_dto_interface.php b/panel_admin/includes/film_dto_interface.php deleted file mode 100644 index 23931f3..0000000 --- a/panel_admin/includes/film_dto_interface.php +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file