public static function getSelectors() { foreach (Self::All() as $item) { $returnArray[$item->id] = $item->getName(); } return $returnArray; }
public function getCategoryList() { $this->array_cat = Self::All()->toArray(); return $this->array_cat; }