The value of the current_card method is what you want to render, and to do that, you need a view class.
current _ card方法的值就是要呈现的值,为了呈现这个值,需要一个视图类。
You may have noticed that when you selected a method in the Outline view and the Hierarchy view, the class of the selected object was not always the same.
您可能已经注意到,当您在Outline视图和Hierarchy视图中选择了一个方法时,所选对象的类并非总是相同的。
Once the request has been processed and the action method view called, it is handed off to the template class; by default, this is Maypole: : view: : TT, which USES the template Toolkit.
一旦请求被process ed且动作方法view被调用后,它就会被提交到模板类;默认情况下,这个模板类是Maypole: View: TT,它使用了Template Toolkit。
应用推荐