Ignore:
Timestamp:
2012/04/18 17:10:53 (14 years ago)
Author:
shutta
Message:

#1296 SC_* のコンストラクタの拡張が無視される
コンストラクタ名を、PHP4の記法(クラス名と同名の関数名)から、PHP5以降で標準的なconstructに変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/graph/SC_Graph_Line.php

    r21514 r21767  
    4040 
    4141    // コンストラクタ 
    42     function SC_Graph_Line( 
     42    function __construct( 
    4343        $bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = LINE_LEFT, $top = LINE_TOP, 
    4444        $area_width = LINE_AREA_WIDTH, $area_height = LINE_AREA_HEIGHT) { 
    45         parent::SC_Graph_Base($bgw, $bgh, $left, $top); 
     45        parent::__construct($bgw, $bgh, $left, $top); 
    4646        $this->area_width = $area_width; 
    4747        $this->area_height = $area_height; 
Note: See TracChangeset for help on using the changeset viewer.