From ec2f88ed95285baf49ad02159207d758b5eaafbf Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 3 Apr 2020 02:27:41 +0200 Subject: summary inclusion min & max setting --- app/class/Medialist.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'app/class/Medialist.php') diff --git a/app/class/Medialist.php b/app/class/Medialist.php index 3395b58..b0964e3 100644 --- a/app/class/Medialist.php +++ b/app/class/Medialist.php @@ -7,8 +7,8 @@ class Medialist extends Item /** @var string full regex match */ protected $fullmatch; - /** @var string full filter code line */ - protected $filter = ''; + /** @var string full options code line */ + protected $options = ''; /** @var string directory of media */ protected $path = ''; @@ -45,9 +45,9 @@ class Medialist extends Item $this->hydrate($datas); } - public function readfilter() + public function readoptions() { - parse_str($this->filter, $datas); + parse_str($this->options, $datas); $this->hydrate($datas); } @@ -137,9 +137,9 @@ class Medialist extends Item return $this->fullmatch; } - public function filter() + public function options() { - return $this->filter; + return $this->options; } /** @@ -182,10 +182,10 @@ class Medialist extends Item } - public function setfilter(string $filter) + public function setoptions(string $options) { - if (!empty($filter)) { - $this->filter = $filter; + if (!empty($options)) { + $this->options = $options; } } -- cgit v1.2.3