title: true of using parent::__construct() in codeigniter?
body: <pre><code>class upload extends CI_Controller {
  
  function __construct() {
      parent::__construct();
      $this-&gt;load-&gt;helper(form);
  }
  </code></pre>
  
  <p>
      I have searched for this question and found one or two but no one answered 
      it clearly please explain we are calling the parent __constructor of the extended class  as tutorials said , some website says this step necessary because it is required to override the parent class <a href="http://tutorialsplane.com/codeigniter-controller-constructor" rel="nofollow">http://tutorialsplane.com/codeigniter-controller-constructor</a>, and when i looked in the <strong><em>base library</em></strong>
            I have found this description  for the default controller constructor</p>
  
  <blockquote>
    <blockquote>
      <p><strong>Assign all the class objects that were instantiated by the
                 bootstrap file (CodeIgniter.php) to local class variables
                so that CI can run as one big super object.</strong></p>
    </blockquote>
  </blockquote>
  
  <p>and finally some one says that is requrid to load controller <a href="https://dzone.com/articles/getting-started-php-framework" rel="nofollow">https://dzone.com/articles/getting-started-php-framework</a>
  now i am totally confused  does it required for using controller   methods so why we have inhirited the controller class   and what is the benefit of  overriding parent constructor<br>
   please help................................
  </p>