From d04592392d414c4d7a17ccc4ed9af3778fcbce46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Sun, 11 Apr 2021 09:16:07 +0200 Subject: [PATCH] Update dto and dto_interfacce --- panel_admin/includes/film_dto.php | 16 ++++++++++------ panel_admin/includes/film_dto_interface.php | 4 +++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/panel_admin/includes/film_dto.php b/panel_admin/includes/film_dto.php index b13d9b4..a88ea42 100644 --- a/panel_admin/includes/film_dto.php +++ b/panel_admin/includes/film_dto.php @@ -1,21 +1,23 @@ _id = $id; $this->_tittle = $tittle; $this->_duration = $duration; $this->_language = $language; + $this->_description = $description; } //Methods: @@ -29,5 +31,7 @@ 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 index 0b1c55c..23931f3 100644 --- a/panel_admin/includes/film_dto_interface.php +++ b/panel_admin/includes/film_dto_interface.php @@ -1,5 +1,5 @@ \ No newline at end of file