A template engine that uses Jade.
package |
Default |
---|
__construct()
create( $arg0, $arg1 = null) : \io\vertx\jphp\ext\web\templ\jade\JadeTemplateEngine
param $vertx [Vertx] create($vertx)
Create a template engine using defaults
param $vertx [Vertx] param $extension [string] create($vertx, $extension)
Vertx
string
\io\vertx\jphp\ext\web\templ\jade\JadeTemplateEngine
the engine
render( $arg0, $arg1, $arg2) : void
Some engines support localization, for these engines, there is a predefined key "lang" to specify the language to be used in the localization, the format should follow the standard locale formats e.g.: "en-gb", "pt-br", "en".
array
string
callable
DEFAULT_TEMPLATE_EXTENSION
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|