2014-06-28 02:41:44 -05:00
|
|
|
<?php
|
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* Class BaseController
|
|
|
|
*/
|
|
|
|
class BaseController extends Controller
|
|
|
|
{
|
2014-06-28 02:41:44 -05:00
|
|
|
|
2014-08-19 13:38:49 -05:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2014-08-28 00:53:54 -05:00
|
|
|
public function __construct()
|
|
|
|
{
|
2014-08-21 08:14:46 -05:00
|
|
|
\Event::fire('limits.check');
|
|
|
|
\Event::fire('piggybanks.check');
|
2014-08-19 13:38:49 -05:00
|
|
|
}
|
2014-08-28 00:53:54 -05:00
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* Setup the layout used by the controller.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function setupLayout()
|
|
|
|
{
|
|
|
|
if (!is_null($this->layout)) {
|
|
|
|
$this->layout = View::make($this->layout);
|
|
|
|
}
|
|
|
|
}
|
2014-06-28 02:41:44 -05:00
|
|
|
|
|
|
|
}
|