__construct() public method

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
ファイル: TStyle.php プロジェクト: pradosoft/prado
 /**
  * Constructor.
  * @param TStyle style to copy from
  */
 public function __construct($style = null)
 {
     parent::__construct();
     if ($style !== null) {
         $this->copyFrom($style);
     }
 }