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 77 items.
  1. actor (89)
  2. animation (6)
  3. architecture (9)
  4. Argentina (1)
  5. Armenia (1)
  6. art (59)
  7. astronomy (4)
  8. atheism (2)
  9. Australia (4)
  10. Austria (8)
  11. Bahamas (2)
  12. ballet (1)
  13. Belgium (5)
  14. biology (9)
  15. blues (2)
  16. Bulgaria (1)
  17. Canada (5)
  18. chemistry (1)
  19. China (1)
  20. classical (12)
  21. Colombia (1)
  22. composer (1)
  23. computer science (1)
  24. computers (9)
  25. Czechia (2)
  26. Denmark (4)
  27. design (2)
  28. director (44)
  29. dog (1)
  30. entrepreneur (10)
  31. film (137)
  32. France (60)
  33. Germany (42)
  34. humor (18)
  35. Hungary (5)
  36. Iceland (1)
  37. India (3)
  38. inventor (12)
  39. Ireland (4)
  40. Italy (21)
  41. Jamaica (2)
  42. Japan (6)
  43. jazz (21)
  44. journalism (6)
  45. linguistics (1)
  46. literature (109)
  47. mathematics (11)
  48. music (173)
  49. Netherlands (35)
  50. performer (4)
  51. philosophy (15)
  52. photography (6)
  53. physics (16)
  54. Poland (3)
  55. politics (18)
  56. psychology (2)
  57. rock (107)
  58. Romania (1)
  59. Russia (12)
  60. science (36)
  61. Serbia (1)
  62. soul (7)
  63. South-Africa (2)
  64. South-Korea (1)
  65. space (2)
  66. Spain (5)
  67. sports (5)
  68. strips (2)
  69. Sweden (3)
  70. Switzerland (6)
  71. television (30)
  72. tv (0)
  73. UK (115)
  74. Ukraine (1)
  75. USA (244)
  76. writer (1)
  77. 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' ]
]) ?>