【文件属性】:
文件名称:zf2-smarty:Zend Framework 2 的 Smarty 模块
文件大小:20KB
文件格式:ZIP
更新时间:2021-06-12 01:35:00
PHP
Zend Framework 2 的 Smarty 模块
安装
将config/smarty.global.php复制到您的config/autoload/目录。
$ cp vendor/ngyuki/zf2-smarty/config/smarty.global.php config/autoload/
修复config/autoload/smarty.global.php
<?php
return array (
'smarty' => array (
// ...
),
);
在application.config.php添加ZendSmarty
<?php
return array (
'modules' => array (
'Application' ,
'ZendSmarty' , // t
【文件预览】:
zf2-smarty-master
----src()
--------Smarty()
--------ModuleOptionsFactory.php(625B)
--------Module.php(247B)
--------Service()
--------View()
--------ModuleOptions.php(737B)
----phpunit.xml.dist(526B)
----Module.php(48B)
----example()
--------module()
--------public()
--------config()
--------data()
----config()
--------smarty.global.php(718B)
--------module.config.php(920B)
----LICENSE(1KB)
----README.md(798B)
----tests()
--------Test()
--------bootstrap.php(184B)
----.gitignore(23B)
----composer.json(597B)