forked from edmundask/codeigniter-twiggy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add abilty to create group assets - create assets helper to render group assets - added config option `render_all_assets`
- Loading branch information
Showing
3 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,25 @@ | ||
<?php | ||
defined('BASEPATH') OR exit('No direct script access allowed'); | ||
|
||
/** | ||
* Twiggy - Twig template engine implementation for CodeIgniter | ||
* | ||
* Twiggy is not just a simple implementation of Twig template engine | ||
* for CodeIgniter. It supports themes, layouts, templates for regular | ||
* apps and also for apps that use HMVC (module support). | ||
* | ||
* @package CodeIgniter | ||
* @subpackage Twiggy | ||
* @author (Original Author) Edmundas Kondrašovas <[email protected]> | ||
* @author Raphael "REJack" Jackstadt <[email protected]> | ||
* @license http://www.opensource.org/licenses/MIT | ||
* @version 0.9.8 | ||
* @copyright Copyright (c) 2012-2014 Edmundas Kondrašovas <[email protected]> | ||
* @copyright Copyright (c) 2015-2017 Raphael "REJack" Jackstadt <[email protected]> | ||
*/ | ||
|
||
/* End of file twiggy_helper.php */ | ||
function assets($group = NULL) | ||
{ | ||
$CII =& get_instance(); | ||
return $CII->twiggy->_compile_group_assetdata($group); | ||
} |
This file contains 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