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 76 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. computers (9)
  24. Czechia (2)
  25. Denmark (4)
  26. design (2)
  27. director (44)
  28. dog (1)
  29. entrepreneur (10)
  30. film (137)
  31. France (60)
  32. Germany (42)
  33. humor (18)
  34. Hungary (5)
  35. Iceland (1)
  36. India (3)
  37. inventor (12)
  38. Ireland (4)
  39. Italy (21)
  40. Jamaica (2)
  41. Japan (6)
  42. jazz (21)
  43. journalism (6)
  44. linguistics (1)
  45. literature (109)
  46. mathematics (10)
  47. music (173)
  48. Netherlands (35)
  49. performer (4)
  50. philosophy (15)
  51. photography (6)
  52. physics (16)
  53. Poland (3)
  54. politics (18)
  55. psychology (2)
  56. rock (107)
  57. Romania (1)
  58. Russia (12)
  59. science (36)
  60. Serbia (1)
  61. soul (7)
  62. South-Africa (2)
  63. South-Korea (1)
  64. space (2)
  65. Spain (5)
  66. sports (5)
  67. strips (2)
  68. Sweden (3)
  69. Switzerland (6)
  70. television (30)
  71. tv (0)
  72. UK (114)
  73. Ukraine (1)
  74. USA (244)
  75. writer (1)
  76. 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' ]
]) ?>