Ireland

Heroes with this tag

Resultaat 1-3 van 3 items.
  1. Samuel Becket
  2. Bono
  3. James Joyce
<?php
use ...

class TagController extends Controller
{
    // ...
        public function actionView($id)
    {
        $tag = $this->findModel($id);
        $heroes = new ActiveDataProvider([
            'query' => $tag->getModels()->orderBy('last_name'),
        ]);

        return $this->render('view', [
            'tag' => $tag,
            'heroes' => $heroes
        ]);
    }
    // ...
}