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