OSDN Git Service

Blogクラスのコード整理
[nucleus-jp/nucleus-next.git] / nucleus / libs / BLOG.php
index 82ee9dd..7403730 100644 (file)
@@ -25,18 +25,18 @@ require_once dirname(__FILE__) . '/ITEMACTIONS.php';
 class Blog\r
 {\r
        // blog id\r
-       var $blogid;\r
-\r
-       // ID of currently selected category\r
-       var $selectedcatid;\r
-\r
+       public $blogid;\r
+       \r
        // After creating an object of the blog class, contains true if the BLOG object is\r
        // valid (the blog exists)\r
-       var $isValid;\r
-\r
+       public $isValid;\r
+       \r
        // associative array, containing all blogsettings (use the get/set functions instead)\r
-       var $settings;\r
-\r
+       private $settings;\r
+       \r
+       // ID of currently selected category\r
+       private $selectedcatid;\r
+       \r
        /**\r
         * Blog::_\construct()\r
         * Creates a new BLOG object for the given blog\r