Heim  >  Artikel  >  Backend-Entwicklung  >  tp 大神来看看 谢谢

tp 大神来看看 谢谢

WBOY
WBOYOriginal
2016-06-06 20:07:332195Durchsuche

tp 大神来看看 谢谢

我在 做导出ecxel 中使用PHPExcel库 但是 查了很多资料tp手册也看了很多遍 都没找到解决方法 跪求大神 说说怎么用 或者 怎么在 ExcelController.class.php 中 实例化IOFactory.php 这里一直 报没有发现IOFactory

tp 大神来看看 谢谢

回复内容:

tp 大神来看看 谢谢

我在 做导出ecxel 中使用PHPExcel库 但是 查了很多资料tp手册也看了很多遍 都没找到解决方法 跪求大神 说说怎么用 或者 怎么在 ExcelController.class.php 中 实例化IOFactory.php 这里一直 报没有发现IOFactory

tp 大神来看看 谢谢

添加命名空间没

尝试

<code>Vendor('PHPExcel.PHPExcel.IOFactory');
$iofactory=new \IOFactory();</code>

自带的jsonRPC客户端类测试

<code>vendor("jsonRPC.jsonRPCClient");
$jsonrpc = new \jsonRPCClient();
dump($jsonrpc);
</code>

tp 大神来看看 谢谢

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn