OSDN Git Service

NP_gallery 0.94
[nucleus-jp/nucleus-plugins.git] / NP_gallery / trunk / gallery / documentation / dev.html
diff --git a/NP_gallery/trunk/gallery/documentation/dev.html b/NP_gallery/trunk/gallery/documentation/dev.html
new file mode 100644 (file)
index 0000000..978281e
--- /dev/null
@@ -0,0 +1,144 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">\r
+<head>\r
+       <!-- $Id: sqltables.html,v 1.9 2005/03/05 13:19:30 dekarma Exp $ -->\r
+       <title>Nucleus - SQL Table Structure</title>\r
+       <link rel="stylesheet" type="text/css" href="manual.css" />\r
+       <style type="text/css">\r
+               /* auto increment table columns*/\r
+               .autoinc {\r
+               }\r
+\r
+               /* primary-keys */\r
+               .primary {\r
+                       text-decoration: underline;\r
+                       font-weight: bold;\r
+               }\r
+\r
+               /* NOT NULL */\r
+               .notnull {\r
+               }\r
+\r
+               /* unique key */\r
+               .unique {\r
+               }\r
+\r
+               /* foreign keys */\r
+               .foreign {\r
+                       font-style: italic;\r
+               }\r
+\r
+               /* auto increment table columns*/\r
+               .autoinc {\r
+               }\r
+\r
+               /* fulltext index */\r
+               .fulltext {\r
+               }\r
+\r
+               /* columns/tables to remove in later versions */\r
+               .toremove {\r
+                       color: red;\r
+               }\r
+\r
+       </style>\r
+</head>\r
+<body>\r
+\r
+<a name="top" id="top"></a>\r
+<div class="heading">\r
+Developer Documentation\r
+</div>\r
+<h1></h1>\r
+\r
+<h1>Introduction</h1>\r
+<p>This page is to document the database structure of NP_Gallery and the nucleus plugin API extensions.</p>\r
+\r
+<h1>Table of Contents</h1>\r
+<ul>\r
+<li><a href="#datastructure">Database Structure\r
+       <ul>\r
+               <li><a href="#table_album">album</a></li>\r
+               <li><a href="#table_album_team">album_team</a></li>\r
+               <li><a href="#table_picture">picture</a></li>\r
+               <li><a href="#table_template">template</a></li>\r
+               <li><a href="#table_template_desc">template_desc</a></li>\r
+               <li><a href="#table_config">config</a></li>\r
+               <li><a href="#table_member">member</a></li>\r
+               <li><a href="#table_comment">comment</a></li>\r
+               <li><a href="#table_promo">promo</a></li>\r
+               <li><a href="#table_views">views</a></li>\r
+               <li><a href="#table_views_log">views_log</a></li>\r
+       </ul>\r
+</li>\r
+<li><a href="#pluginhooks">Plugin Events</li>\r
+</ul>\r
+\r
+<h1><a name="datastructure"></a>Database structure</h1>\r
+\r
+<h1><a name="table_album"></a>album</h1>\r
+<table><thead><tr>\r
+       <th>Column Name</th>\r
+       <th>Type</th>\r
+       <th>Default</th>\r
+       <th>Description</th>\r
+</tr></thead><tbody><tr>\r
+       <th class="notnull autoinc primary">albumid</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>title</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>description</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>ownerid</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>modified</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>numberofimages</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>thumbnail</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr><tr>\r
+       <th>commentsallowed</th>\r
+       <th></th>\r
+       <th></th>\r
+       <th></th>\r
+</tr></tbody>\r
+</table>\r
+\r
+\r
+<h2><a name="table_album_team"></a>album_team</h2>\r
+<h2><a name="table_picture"></a>picture</h2>\r
+<h2><a name="table_template"></a>template</h2>\r
+<h2><a name="table_template_desc"></a>template_desc</h2>\r
+<h2><a name="table_config"></a>config</h2>\r
+<h2><a name="table_member"></a>member</h2>\r
+<h2><a name="table_comment"></a>comment</h2>\r
+<h2><a name="table_promo"></a>promo</h2>\r
+<h2><a name="table_views"></a>views</h2>\r
+<h2><a name="table_views_log"></a>views_log</h2>\r
+\r
+<h1><a name="pluginhooks"></a>Gallery Events</h1>\r
+NPgCollectionDisplay\r
+\r
+</body>\r
+</html>\r