Index: branches/version-2_13-dev/data/class/graph/SC_Graph_Bar.php
===================================================================
--- branches/version-2_13-dev/data/class/graph/SC_Graph_Bar.php	(revision 22857)
+++ branches/version-2_13-dev/data/class/graph/SC_Graph_Bar.php	(revision 23124)
@@ -26,5 +26,5 @@
 {
     // コンストラクタ
-    function __construct(
+    public function __construct(
         $bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = LINE_LEFT, $top = LINE_TOP,
         $area_width = LINE_AREA_WIDTH, $area_height = LINE_AREA_HEIGHT) {
@@ -33,5 +33,5 @@
 
     // グラフの描画
-    function drawGraph()
+    public function drawGraph()
     {
         $this->drawYLine();
@@ -53,5 +53,5 @@
 
     // 棒グラフの描画
-    function drawBar($line_no)
+    public function drawBar($line_no)
     {
         $arrPointList = $this->arrPointList[$line_no];
@@ -83,5 +83,5 @@
 
     // ラベルを描画する
-    function drawLabel($line_no)
+    public function drawLabel($line_no)
     {
         $arrData = $this->arrDataList[$line_no];
Index: branches/version-2_13-dev/data/class/graph/SC_Graph_Line.php
===================================================================
--- branches/version-2_13-dev/data/class/graph/SC_Graph_Line.php	(revision 22567)
+++ branches/version-2_13-dev/data/class/graph/SC_Graph_Line.php	(revision 23124)
@@ -25,21 +25,21 @@
 class SC_Graph_Line extends SC_Graph_Base_Ex
 {
-    var $area_width;
-    var $area_height;
-    var $ygrid_on;
-    var $graph_max;     // グラフのエリア最大値(Y軸頂点の値)
-    var $arrXLabel;
-    var $XLabelAngle;   // X軸ラベル角度
-    var $XTitle;        // X軸タイトル
-    var $YTitle;        // Y軸タイトル
-    var $arrDataList;   // グラフデータを格納
-    var $arrPointList;  // 折れ線座標を格納
-    var $line_max;      // 複数の描画の場合に加算していく
-
-    var $x_margin;
-    var $y_margin;
+    public $area_width;
+    public $area_height;
+    public $ygrid_on;
+    public $graph_max;     // グラフのエリア最大値(Y軸頂点の値)
+    public $arrXLabel;
+    public $XLabelAngle;   // X軸ラベル角度
+    public $XTitle;        // X軸タイトル
+    public $YTitle;        // Y軸タイトル
+    public $arrDataList;   // グラフデータを格納
+    public $arrPointList;  // 折れ線座標を格納
+    public $line_max;      // 複数の描画の場合に加算していく
+
+    public $x_margin;
+    public $y_margin;
 
     // コンストラクタ
-    function __construct(
+    public function __construct(
         $bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = LINE_LEFT, $top = LINE_TOP,
         $area_width = LINE_AREA_WIDTH, $area_height = LINE_AREA_HEIGHT) {
@@ -56,5 +56,5 @@
 
     // X軸ラベルの角度セット
-    function setXLabelAngle($Angle)
+    public function setXLabelAngle($Angle)
     {
         $this->XLabelAngle = $Angle;
@@ -62,5 +62,5 @@
 
     // Y軸タイトル
-    function drawYTitle()
+    public function drawYTitle()
     {
         // Y軸にタイトルを入れる
@@ -74,5 +74,5 @@
 
     // X軸タイトル
-    function drawXTitle()
+    public function drawXTitle()
     {
         // Y軸にタイトルを入れる
@@ -86,5 +86,5 @@
 
     // Y軸の描画
-    function drawYLine()
+    public function drawYLine()
     {
         imageline($this->image, $this->left, $this->top, $this->left, $this->top + $this->area_height, $this->flame_color);
@@ -112,5 +112,5 @@
 
     // X軸の描画
-    function drawXLine($bar = false)
+    public function drawXLine($bar = false)
     {
         imageline($this->image, $this->left, $this->top + $this->area_height, $this->left + $this->area_width, $this->top + $this->area_height, $this->flame_color);
@@ -156,5 +156,5 @@
 
     // グリッド表示
-    function setYGridOn($ygrid_on)
+    public function setYGridOn($ygrid_on)
     {
         $this->ygrid_on = $ygrid_on;
@@ -162,5 +162,5 @@
 
     // ポイントの描画
-    function setMark($line_no, $left, $top, $size = LINE_MARK_SIZE)
+    public function setMark($line_no, $left, $top, $size = LINE_MARK_SIZE)
     {
         // 偶数に変換しておく
@@ -178,5 +178,5 @@
 
     // Y軸目盛りに値を入れる
-    function setYScale()
+    public function setYScale()
     {
         // 1目盛りの値
@@ -195,5 +195,5 @@
 
     //
-    function setMax($arrData)
+    public function setMax($arrData)
     {
         // データの最大値を取得する。
@@ -212,5 +212,5 @@
 
     // グラフの描画
-    function drawGraph()
+    public function drawGraph()
     {
         // グラフ背景を描画
@@ -238,5 +238,5 @@
 
     // ラインを描画する
-    function drawLine($line_no)
+    public function drawLine($line_no)
     {
         $arrPointList = $this->arrPointList[$line_no];
@@ -255,5 +255,5 @@
 
     // マークを描画する
-    function drawMark($line_no)
+    public function drawMark($line_no)
     {
         $arrPointList = $this->arrPointList[$line_no];
@@ -267,5 +267,5 @@
 
     // ラベルを描画する
-    function drawLabel($line_no)
+    public function drawLabel($line_no)
     {
         $arrData = $this->arrDataList[$line_no];
@@ -283,7 +283,7 @@
 
     // データをセットする
-    function setData($arrData)
-    {
-        $this->arrDataList[$this->line_max] = array_values((array)$arrData);
+    public function setData($arrData)
+    {
+        $this->arrDataList[$this->line_max] = array_values((array) $arrData);
         $this->setMax($this->arrDataList[$this->line_max]);
         // 値の描画変換率
@@ -305,11 +305,11 @@
 
     // X軸ラベルをセットする
-    function setXLabel($arrXLabel)
-    {
-        $this->arrXLabel = array_values((array)$arrXLabel);
+    public function setXLabel($arrXLabel)
+    {
+        $this->arrXLabel = array_values((array) $arrXLabel);
     }
 
     // X軸タイトルをセットする
-    function setXTitle($title)
+    public function setXTitle($title)
     {
         $this->XTitle = $title;
@@ -317,5 +317,5 @@
 
     // Y軸タイトルをセットする
-    function setYTitle($title)
+    public function setYTitle($title)
     {
         $this->YTitle = $title;
Index: branches/version-2_13-dev/data/class/graph/SC_Graph_Base.php
===================================================================
--- branches/version-2_13-dev/data/class/graph/SC_Graph_Base.php	(revision 22856)
+++ branches/version-2_13-dev/data/class/graph/SC_Graph_Base.php	(revision 23124)
@@ -133,52 +133,52 @@
 class SC_Graph_Base
 {
-    var $arrRGB;
-    var $arrColor;
-    var $arrDarkColor;
-    var $image;
-    var $left;
-    var $top;
-    var $shade_color;
-    var $flame_color;
-    var $shade_on;
-    var $text_color;
-    var $labelbg_color;
-    var $bgw;
-    var $bgh;
-    var $clabelbg_color;
-    var $title_color;
-    var $text_top;
-    var $mark_color;
-    var $arrLegend;
+    public $arrRGB;
+    public $arrColor;
+    public $arrDarkColor;
+    public $image;
+    public $left;
+    public $top;
+    public $shade_color;
+    public $flame_color;
+    public $shade_on;
+    public $text_color;
+    public $labelbg_color;
+    public $bgw;
+    public $bgh;
+    public $clabelbg_color;
+    public $title_color;
+    public $text_top;
+    public $mark_color;
+    public $arrLegend;
 
     /** グラフ背景 */
-    var $ARR_GRAPH_RGB;
+    public $ARR_GRAPH_RGB;
 
     /** 背景色 */
-    var $ARR_BG_COLOR;
+    public $ARR_BG_COLOR;
 
     /** 影の色 */
-    var $ARR_SHADE_COLOR;
+    public $ARR_SHADE_COLOR;
 
     /** 縁の色 */
-    var $ARR_FLAME_COLOR;
+    public $ARR_FLAME_COLOR;
 
     /** 文字色 */
-    var $ARR_TEXT_COLOR;
+    public $ARR_TEXT_COLOR;
 
     /** ラベル背景 */
-    var $ARR_LABELBG_COLOR;
+    public $ARR_LABELBG_COLOR;
 
     /** 凡例背景 */
-    var $ARR_LEGENDBG_COLOR;
+    public $ARR_LEGENDBG_COLOR;
 
     /** タイトル文字色 */
-    var $ARR_TITLE_COLOR;
+    public $ARR_TITLE_COLOR;
 
     /** グリッド線色 */
-    var $ARR_GRID_COLOR;
+    public $ARR_GRID_COLOR;
 
     // コンストラクタ
-    function __construct($bgw, $bgh, $left, $top)
+    public function __construct($bgw, $bgh, $left, $top)
     {
         $this->init();
@@ -210,5 +210,5 @@
 
     // リサンプル(画像を滑らかに縮小する)
-    function resampled()
+    public function resampled()
     {
         $new_width = $this->bgw * 0.8;
@@ -221,5 +221,5 @@
 
     // オブジェクトカラーの設定
-    function setColorList($arrRGB)
+    public function setColorList($arrRGB)
     {
         $this->arrRGB = $arrRGB;
@@ -236,5 +236,5 @@
 
     // 影のありなし
-    function setShadeOn($shade_on)
+    public function setShadeOn($shade_on)
     {
         $this->shade_on = $shade_on;
@@ -242,5 +242,5 @@
 
     // 画像を出力する
-    function outputGraph($header = true, $filename = '')
+    public function outputGraph($header = true, $filename = '')
     {
         if ($header) {
@@ -258,5 +258,5 @@
 
     // 描画時のテキスト幅を求める
-    function getTextWidth($text, $font_size)
+    public function getTextWidth($text, $font_size)
     {
         $text_len = strlen($text);
@@ -268,9 +268,10 @@
             $ret = $arrPos[2] - $arrPos[0];
         */
+
         return $ret;
     }
 
     // テキストを出力する
-    function setText($font_size, $left, $top, $text, $color = NULL, $angle = 0, $labelbg = false)
+    public function setText($font_size, $left, $top, $text, $color = NULL, $angle = 0, $labelbg = false)
     {
         // 時計回りに角度を変更
@@ -305,5 +306,5 @@
 
     // タイトルを出力する
-    function drawTitle($text, $font_size = TITLE_FONT_SIZE)
+    public function drawTitle($text, $font_size = TITLE_FONT_SIZE)
     {
         // 出力位置の算出
@@ -315,5 +316,5 @@
 
     // ログを出力する
-    function debugPrint($text)
+    public function debugPrint($text)
     {
         $text = mb_convert_encoding($text, 'UTF-8', CHAR_CODE);
@@ -327,5 +328,5 @@
 
     // カラーラベルを描画
-    function drawLegend($legend_max = '', $clabelbg = true)
+    public function drawLegend($legend_max = '', $clabelbg = true)
     {
         // 凡例が登録されていなければ中止
@@ -377,5 +378,5 @@
 
     // カラーラベル背景の描画
-    function drawClabelBG($left, $top, $right, $bottom)
+    public function drawClabelBG($left, $top, $right, $bottom)
     {
         // 影の描画
@@ -389,7 +390,7 @@
 
     // 凡例をセットする
-    function setLegend($arrLegend)
-    {
-        $this->arrLegend = array_values((array)$arrLegend);
+    public function setLegend($arrLegend)
+    {
+        $this->arrLegend = array_values((array) $arrLegend);
     }
 
@@ -402,5 +403,5 @@
      * @return void
      */
-    function init()
+    public function init()
     {
         // 凡例背景
@@ -439,11 +440,11 @@
      * 円の中心点と直径から弧の終端座標を算出する.
      *
-     * @param integer $cx 中心点X座標
-     * @param integer $cy 中心点Y座標
-     * @param integer $r 半径
-     * @param integer $e 角度
-     * @return array 円の中心点と直径から弧の終端座標の配列
+     * @param  integer $cx 中心点X座標
+     * @param  integer $cy 中心点Y座標
+     * @param  integer $r  半径
+     * @param  integer $e  角度
+     * @return array   円の中心点と直径から弧の終端座標の配列
      */
-    function lfGetArcPos($cx, $cy, $cw, $ch, $e)
+    public function lfGetArcPos($cx, $cy, $cw, $ch, $e)
     {
         // 三角関数用の角度を求める
@@ -458,5 +459,5 @@
 
     /** 画像にテキストを描画する */
-    function lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
+    public function lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
     {
         $color = ImageColorAllocate($dst_image, $arrRGB[0], $arrRGB[1], $arrRGB[2]);
@@ -469,5 +470,5 @@
 
     /** 表示色の取得 */
-    function lfGetImageColor($image, $array)
+    public function lfGetImageColor($image, $array)
     {
         if (count($array) != 3) {
@@ -480,5 +481,5 @@
 
     /** 影用表示色の取得 */
-    function lfGetImageDarkColor($image, $array)
+    public function lfGetImageDarkColor($image, $array)
     {
         if (count($array) != 3) {
Index: branches/version-2_13-dev/data/class/graph/SC_Graph_Pie.php
===================================================================
--- branches/version-2_13-dev/data/class/graph/SC_Graph_Pie.php	(revision 22856)
+++ branches/version-2_13-dev/data/class/graph/SC_Graph_Pie.php	(revision 23124)
@@ -25,14 +25,14 @@
 class SC_Graph_Pie extends SC_Graph_Base_Ex
 {
-    var $cw;
-    var $ch;
-    var $cz;
-    var $cx;
-    var $cy;
-    var $arrLabel;
-    var $arrData;
+    public $cw;
+    public $ch;
+    public $cz;
+    public $cx;
+    public $cy;
+    public $arrLabel;
+    public $arrData;
 
     // コンストラクタ
-    function __construct($bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = PIE_LEFT, $top = PIE_TOP)
+    public function __construct($bgw = BG_WIDTH, $bgh = BG_HEIGHT, $left = PIE_LEFT, $top = PIE_TOP)
     {
         parent::__construct($bgw, $bgh, $left, $top);
@@ -44,5 +44,5 @@
 
     // データを360°値に変換する
-    function getCircleData($array)
+    public function getCircleData($array)
     {
         $total = '';
@@ -77,5 +77,5 @@
 
     // 円の位置設定を行う
-    function setPosition($cx, $cy)
+    public function setPosition($cx, $cy)
     {
         $this->cx = $cx;
@@ -84,5 +84,5 @@
 
     // 円のサイズ設定を行う
-    function setSize($cw, $ch, $cz = 0)
+    public function setSize($cw, $ch, $cz = 0)
     {
         $this->cw = $cw;
@@ -92,5 +92,5 @@
 
     // 影の描画
-    function drawShade()
+    public function drawShade()
     {
         $move = 1;
@@ -102,5 +102,5 @@
 
     // データをセットする
-    function setData($arrData)
+    public function setData($arrData)
     {
         $this->arrData = array_values($arrData);
@@ -108,5 +108,5 @@
 
     // 円グラフを描画する
-    function drawGraph()
+    public function drawGraph()
     {
         $x = $this->cx;
@@ -198,5 +198,5 @@
 
     // 円グラフのラベルを描画する
-    function drawLabel($arrRad)
+    public function drawLabel($arrRad)
     {
         $start = 0;
