$query = News::find()
->select(['{{%news}}.id as nid','{{%news}}.`name` as `nname`', 'SUBSTRING({{%news}}.`text`, 1, 256 ) AS `ntext`', '{{%news}}.date', '{{%category}}.`id` AS catid','{{%category}}.`name` AS catname'])
->leftJoin('{{%category}}', '{{%category}}.id = {{%news}}.category_id')
->where($where['where'], $where['arr']);
>.<