Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache library not included? #2

Closed
kurtbeheydt opened this issue Apr 8, 2013 · 5 comments
Closed

cache library not included? #2

kurtbeheydt opened this issue Apr 8, 2013 · 5 comments
Assignees

Comments

@kurtbeheydt
Copy link

How can I include the cache driver/libraries?
Screen Shot 2013-04-08 at 17 19 18

@topdown
Copy link
Owner

topdown commented Apr 8, 2013

I have not loaded and tested it, but try adding the CI_Cache class to the helper file
@Property CI_Cache $cache

Because it is driver based it may not work and I will have to load a project to look into it.

@kurtbeheydt
Copy link
Author

I tried adding it ti CI_phpStorm.php, but no effect. As you mentioned I think it needs something like you did with the DB_active_rec.php class because the cache library in CI is also a driver extension.

Anyway. The rest works fine for me, thanks a lot!

@topdown
Copy link
Owner

topdown commented Apr 19, 2013

Sorry for the delay. If I get a chance this weekend I'll load up a CI instance and figure it out.

@topdown
Copy link
Owner

topdown commented Apr 22, 2013

$this->load->driver
and all $this->cache methods should work now.
This was tested on CI 3.0-dev but comparing version 2.1 should work.
Let me know if it doesn't.

@ghost ghost assigned topdown Apr 22, 2013
@kurtbeheydt
Copy link
Author

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants