Created
May 12, 2015 15:12
-
-
Save danielzzz/9348e305472cfad4c635 to your computer and use it in GitHub Desktop.
vendor import?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Controller\Admin; | |
use App\Controller\AppController; | |
use \PhpExcel; | |
use \PhpExcel\IOFactory; | |
/** | |
* Members Controller | |
* | |
* @property \App\Model\Table\MembersTable $Members | |
*/ | |
class MembersController extends AppController | |
{ | |
public function initialize() { | |
parent::initialize(); | |
$this->layout = 'AyDBootstrap/admin'; | |
} | |
public function import() { | |
$objPHPExcel = PHPExcel_IOFactory::load("test.xls"); | |
exit; | |
// | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment