예제 #1
0
 public function joinWith($with)
 {
     if ($with === 'texts') {
         $this->andWhere(['with_texts' => 1]);
     }
     return parent::joinWith($with);
 }