__construct() публичный Метод

This function installs all class behaviors in a class hierarchy from the deepest subclass through each parent to the top most class, TComponent.
public __construct ( )
Пример #1
0
 /**
  * Constructor.
  * @param TStyle style to copy from
  */
 public function __construct($style = null)
 {
     parent::__construct();
     if ($style !== null) {
         $this->copyFrom($style);
     }
 }