Friday, April 08 2016
In this article we have explained about how to create custom Helper in Codeigniter. Helper is a group of functions but it is not a class.
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); if ( ! function_exists('sample_method')) { function sample_method($var = '') { return $var; } }