public function getListItems()
    {
        $item_arr = [];
        foreach ($this->items as $item)
        {
            $item_arr[$item->id] = $item->title;
        }
        return $item_arr;
    }
public function getListItems()
    {
        $item_arr = [];
        foreach ($this->items as $item)
        {
            $item_arr[$item->id] = $item->title;
        }
        return $item_arr;
    }
public function getListItems ( ) { $ item_arr = [ ] ; foreach ( $ this -> items as $ item ) { $ item_arr [ $ item -> id ] = $ item -> title ; } return $ item_arr ; }
For special widget
For special widget