andWhere('[[status]]=1'); }*/ /** * {@inheritdoc} * @return NewsTopicRelation[]|array */ public function all($db = null) { return parent::all($db); } /** * {@inheritdoc} * @return NewsTopicRelation|array|null */ public function one($db = null) { return parent::one($db); } }