Revision #4 has been created by cgsmith on Sep 17, 2013, 3:04:00 PM with the memo:
updated PHP manual link and added tags
« previous (#3) next (#5) »
Changes
Title
unchanged
How to use PHPExcel external library with Yii
Category
unchanged
How-tos
Yii version
unchanged
Tags
changed
yii, libraries, PHPExcel, create excel file with phpexcel
Content
changed
[...]
```php
return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'), true, true);
```
See the documentation of [spl_autoload_register](http://us.php.net/manual/en/function.spl-autoload-register.php) for a description of these parameters.
<h2>Final Words</h2>
This post is using PHPExcel external library as an example, but this procedure should be taken into account when we encounter a problem like this. Whenever you find a library that you wish to include in your Yii application, check out its autoloading functions first.