When getting inherited from a parent class in PHP, especially in Codeigniter what does parent::__construct or parent::model() do?
How would it make diff
what does parent::__construct or parent::model() do?
these functions do exactly the same, only the construct function used to be named after the class itself prior to PHP5. I say in your example you are extending the Model class (and on some older version of CI since you don't need to use CI_model), if I'm correct in this __construct is the same as model().