diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-03 02:27:41 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-03 02:27:41 +0200 |
commit | ec2f88ed95285baf49ad02159207d758b5eaafbf (patch) | |
tree | 82d0ea3e9dd0f243f920a0bc7fd614cda2bd1003 /app/class/Medialist.php | |
parent | 55b3aa3552b0627510bce66ff208529c168a2836 (diff) | |
download | wcms-ec2f88ed95285baf49ad02159207d758b5eaafbf.tar.gz wcms-ec2f88ed95285baf49ad02159207d758b5eaafbf.zip |
summary inclusion min & max setting
Diffstat (limited to 'app/class/Medialist.php')
-rw-r--r-- | app/class/Medialist.php | 18 |
1 files changed, 9 insertions, 9 deletions
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; } } |