Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

sabroan/CI3-cookie-helper-extender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CodeIgniter 3 Cookie Helper Extender

Add additional functions for working with cookies.

Install

Copy MY_cookie_helper.php to /application/helpers/, and load helper trought CodeIgniter Loader class.

$this->load->helper('cookie');

Note: In case if you subclass_prefix was changed in /application/config/config.php, filename prefix MY_ should be renamed accordingly.

Functions

Check if cookie is enabled.

This function determinate if cookie is enabled in client browser, by counting currently set cookies. If nothing was found, test cookie will be set.

is_cookie_enabled();

Note: CodeIgniter URL helper and Input class is used in this function.

About

Add additional functions for working with cookies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages