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 | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Module Namespace | |
|-------------------------------------------------------------------------- | |
| | |
| Default module namespace. | |
| |
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 | |
/** | |
* Output a JasperReport in PDF format and show on browser | |
*/ | |
include_once "vendor/autoload.php"; | |
use JasperPHP\JasperPHP; | |
//report.jrxml | |
$reportFileName = "report"; | |
$reportFileExt = ".jrxml"; |
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
class AppController extends Controller | |
{ | |
public $components = array( | |
'RequestHandler', | |
'Auth', | |
); | |
public function beforeFilter() { | |
$this->__setupAuth(); |