public static function getShopList() { //$models = Shop::find()->asArray()->andWhere(['ssid'=>helper::getSsid()]); $models = Shop::findAll(['ssid' => helper::getSsid()]); return ArrayHelper::map($models, 'id', 'title'); }