OSDN Git Service

MERGE: リビジョン1721をマージ。主要なクラス名をUpperCamelCaseに統一。
[nucleus-jp/nucleus-next.git] / nucleus / libs / KARMA.php
index b225a10..e6045d5 100644 (file)
  * @copyright Copyright (C) 2002-2009 The Nucleus Group\r
  * @version $Id: KARMA.php 1470 2010-11-29 22:10:16Z ftruscot $\r
  */\r
-class KARMA {\r
-\r
+class Karma\r
+{\r
        // id of item about which this object contains information\r
        var $itemid;\r
-\r
+       \r
        // indicates if the karma vote info has already been intialized from the DB\r
        var $inforead;\r
-\r
+       \r
        // amount of positive/negative votes\r
        var $karmapos;\r
        var $karmaneg;\r
-\r
+       \r
        function KARMA($itemid, $initpos = 0, $initneg = 0, $initread = 0) {\r
                // itemid\r
                $this->itemid = intval($itemid);\r