LoginSignup
1
0

【Phalcon】voltのIFやFOR

Posted at

はじめに

現在携わってるプロジェクトがPhalconで、Phalconを構成するvoltファイルで使うIFやFORについての備忘録。

if文

{% if fruit === 'monday' %}
    <p>月曜日</p>
{% endif %}

for文

{% for key, date in dates %}
    <p>{{ key }}:{{ date }}</p>
{% endfor %}
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0