private function functionsView() { \Service::get('view')->addFunction('page', function ($where = array()) { return \Page::showContent($where); }); \Service::get('view')->addFunction('slab', function ($where = array()) { return \Slab::showContent($where); }); \Service::get('view')->addFunction('carousel', function ($where = array()) { return \Carousel::show($where); }); }