Package Data | |
---|---|
Maintainer Username: | larakit |
Maintainer Contact: | aberdnikov@gmail.com (Alexey Berdnikov) |
Package Create Date: | 2016-04-27 |
Package Last Update: | 2016-05-10 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:20:30 |
Package Statistics | |
---|---|
Total Downloads: | 414 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#Helper beerhold.it
В twig-шаблонах станут доступными следующие функции
<img src="{{ beerhold(300, 200) }}" alt="" />
результат:
<img src="http://beerhold.it/300/200/?hash={HASH}" alt="" />
<img src="{{ beerhold_g(300, 200) }}" alt="" />
результат:
<img src="http://beerhold.it/300/200/g" alt="" />
<img src="{{ beerhold_s(300, 200) }}" alt="" />
результат:
<img src="http://beerhold.it/300/200/s?hash={HASH}" alt="" />
<img src="{{ beerhold_n(300, 200) }}" alt="" />
результат:
<img src="http://beerhold.it/300/200/n?hash={HASH}" alt="" />