public function searchte_id() { $b = Yii::$app->user->getId(); $admin = Users::getinstance(); $te_id = $admin::findOne($b)->te_id; return $te_id; }