Closure Stylesheets allows the use of @if, @elseif and @else in creating conditional branches based on the value of some variables.
ClosureStylesheets让我们可以使用@if、@elseif和@else,从而基于某些变量的值来创建条件语句的分支。
You can also build more complex conditional tests using an if/elif/else (elif being the equivalent to PHP's elseif), as shown in Listing 8.
您还可以使用if/elif/else(elif,等价于PHP 中的elseif)创建更加复杂的条件测试,如清单8 所示。
You can also build more complex conditional tests using an if/elif/else (elif being the equivalent to PHP's elseif), as shown in Listing 8.
您还可以使用if/elif/else(elif,等价于PHP 中的elseif)创建更加复杂的条件测试,如清单8 所示。
应用推荐