Taggable demo

Taggable is a suite of classes for the Yii framework 2.0. It lets you handle the tagging of ActiveRecords with keywords or similar. The tags can be associated with or decoupled from a model (ActiveRecord), and can be sorted.

Tags applied to Heroes

Total 70 items.
  1. actor (86)
  2. animation (6)
  3. architecture (9)
  4. Argentina (1)
  5. Armenia (1)
  6. art (57)
  7. astronomy (4)
  8. atheism (2)
  9. Australia (4)
  10. Austria (7)
  11. Bahamas (1)
  12. ballet (1)
  13. Belgium (5)
  14. biology (7)
  15. blues (2)
  16. Canada (4)
  17. chemistry (1)
  18. China (1)
  19. classical (12)
  20. Colombia (1)
  21. computers (9)
  22. Czechia (2)
  23. Denmark (4)
  24. design (2)
  25. director (44)
  26. dog (1)
  27. entrepreneur (10)
  28. film (133)
  29. France (58)
  30. Germany (40)
  31. humor (18)
  32. Hungary (5)
  33. Iceland (1)
  34. India (3)
  35. inventor (12)
  36. Ireland (3)
  37. Italy (20)
  38. Jamaica (2)
  39. Japan (6)
  40. jazz (21)
  41. journalism (6)
  42. linguistics (1)
  43. literature (107)
  44. mathematics (9)
  45. music (165)
  46. Netherlands (33)
  47. performer (4)
  48. philosophy (14)
  49. photography (5)
  50. physics (12)
  51. Poland (3)
  52. politics (16)
  53. psychology (2)
  54. rock (100)
  55. Romania (1)
  56. Russia (12)
  57. science (31)
  58. Serbia (1)
  59. soul (7)
  60. South-Africa (2)
  61. South-Korea (1)
  62. space (2)
  63. Spain (5)
  64. sports (4)
  65. Sweden (2)
  66. Switzerland (6)
  67. television (30)
  68. UK (111)
  69. USA (232)
  70. YouTube (2)
<?php
use yii\widgets\ListView;
?>

<?= ListView::widget([
    'dataProvider' => $dataProvider,
    'itemView' => function ($model, $key, $index, $widget) {
        return "$model->link ($model->modelCount)";
    },
    'listOptions' => [ 'class' => 'list-unstyled multi-columns' ]
]) ?>