halustyan
(halustyan)
1
$this->categories - here are categories values
I need to remade this code into the rules array, or in-core method
$this->categories = array_flip($this->categories);
unset($this->categories[0]);
$this->categories = array_flip($this->categories);
How to do this?
tri
(tri - Tommy Riboe)
2
$this->categories in my case is an array, and all the variants in Filter that i can see is for the string
Bizley
(Bizley)
4
There is each
validator but in your case you need a custom validation method.