base class,constructor,call,parent class,PHP, Question, call constructor from parent,PHP: Calling Parent Class Constructors,class Parent
How do you call a constructor for a parent class? 


parent::constructor($value)


Example:



class parentClass
{
     function __construct()
   {
    }
}


class chClass extends parentClass
{
   function __construct()
   {
      parent::__construct(); //call a constructor for a parent class
       }
}