Skip to content

spadefoot/kohana-asset-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

#Kohana Asset Manager

###Quick Start

#####Create the class

$this->AssetManager = new AssetManager();

#####Add a library

This will pull from the config file.

$this->AssetManager->set_library(Asset::JQUERY);

#####Add an asset

$this->AssetManager->set_asset(array(
    'type' => 'text/css',
    'media' => 'screen, projection',
    'uri' => '/lib/css/layout.css'
));

#####Render the HTML $this->AssetManager->render();

About

Asset Manager for Kohana framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages