Home  >  Q&A  >  body text

php - symfony framework twig template script_controller principle solution

I saw similar loading page js controller code (below) on the twig template of the framework

{% extends 'TopxiaWebBundle::layout.html.twig' %}
{% set script_controller = 'ldbundle/lds-micro/micro-course' %}

{% block title %} 报考专题{% endblock %}

I don’t know about it

script_controller = 'ldbundle/lds-micro/micro-course'
Which plug-in statement does

belong to? and his source code. Gods, please solve it! ! !

大家讲道理大家讲道理2662 days ago518

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-10 09:49:36

    This makes no sense. . . It is set variable = value of twig template, which is assignment

    reply
    0
  • Cancelreply