<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://www.nobunobu.com/documents/skin/rss.xml" ?>
<rdf:RDF 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xml:lang="ja">

 <channel rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1.html">
  <title>資料室-XOOPSCube2_1</title>
  <link>http://www.nobunobu.com/documents/?XOOPSCube2_1</link>
  <description>XOOPS Cube 2.1情報</description>
  <dc:language>ja-jp</dc:language>
  <dc:date>2006-08-23T00:12:40+09:00</dc:date>
  <items>
   <rdf:Seq>
    <rdf:li rdf:resource="http://www.nobunobu.com/documents/XOOPSCube2_1/DelegateDoc.html" />
    <rdf:li rdf:resource="http://www.nobunobu.com/documents/XOOPSCube2_1/DelegateDoc/Site.Login.html" />
    <rdf:li rdf:resource="http://www.nobunobu.com/documents/XOOPSCube2_1/PreloadSample/CubeUtils.html" />
    <rdf:li rdf:resource="http://www.nobunobu.com/documents/XOOPSCube2_1/PreloadSample.html" />
    <rdf:li rdf:resource="http://www.nobunobu.com/documents/XOOPSCube2_1.html" />

   </rdf:Seq>
  </items>
 </channel>

<item rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1/DelegateDoc.html">
 <title>DelegateDoc</title>
 <link>http://www.nobunobu.com/documents/?XOOPSCube2_1%2FDelegateDoc</link>
 <dc:date>2006-08-22T23:39:02+09:00</dc:date>
 <description>Site.Login New!...Delegateリファレンスマニュアル Site.Login New!</description>
<content:encoded>
<![CDATA[
Delegateリファレンスマニュアル
Site.Login New!
]]>
</content:encoded>
<dc:creator>nobunobu</dc:creator>
</item>

<item rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1/DelegateDoc/Site.Login.html">
 <title>DelegateDoc/Site.Login</title>
 <link>http://www.nobunobu.com/documents/?XOOPSCube2_1%2FDelegateDoc%2FSite.Login</link>
 <dc:date>2006-08-22T23:08:37+09:00</dc:date>
 <description>$xoopUserオブジェクトの生成を行います。&amp;#182;$xoopUserオブジェクトの生成を行います。		&amp;#182;用途 対話セッションが継続している間、セッション変数'xoopsU...</description>
<content:encoded>
<![CDATA[
Site.Login<br />
用途
対話セッションが継続している間、セッション変数'xoopsUserId'を元に、処理開始時に対話中のユーザの情報を取得し、		$xoopUserオブジェクトの生成を行います。
パラメータ
&amp;$xoopsUser<br />
XoopsUserオブジェクト		Delegate関数内で、XoopsUserオブジェクトを生成して$xoopsUserにセットします。
宣言箇所
Legacy_Controller::Legacy_Controller() : [/modules/base/kernel/Legacy_Controller.class.php]<br />
呼出箇所
Legacy_Controller::_setupUser() : [/modules/base/kernel/Legacy_Controller.class.php]<br />
標準実装関数
User_Login::login(&amp;$xoopsUser) - [/modules/user/preload/Primary/Primary.class.php]		Legacy_SiteClose::callbackSiteLogin(&amp;$xoopsUser) - [/modules/base/preload/Primary/SiteClose.class.php]
]]>
</content:encoded>
<dc:creator>nobunobu</dc:creator>
</item>

<item rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1/PreloadSample/CubeUtils.html">
 <title>PreloadSample/CubeUtils</title>
 <link>http://www.nobunobu.com/documents/?XOOPSCube2_1%2FPreloadSample%2FCubeUtils</link>
 <dc:date>2006-08-22T16:28:09+09:00</dc:date>
 <description>しかしながら、あくまでもXOOPS Cube2.1の柔軟性に対する実証用モジュールですので、まだまだ安定版ではありません。This is just a sample foe evaluating XOOPS Cube 2.1 function.		
1.これは何?
CubeUtilsモジュールは、XOOPS Cube2.1に対するある程度実用的なサンプルです。		しかしながら、あくまでもXOOPS Cube2.1の柔軟性に対する実証用モジュールですので、まだまだ安定版ではありません。<br />
XOOPS 2.0.x JP用のSysUtilモジュールにて用意していたGIJOE氏開発の以下のHACKと同等機能を、		XOOPS Cube2.1のPreload機能及びDelegate機構を使用して実装したモジュールです。<br />
AutoLogin<br />
EMLH(Easiest Multi Language Hack)<br />

2.どうやって使うの?
		このモジュールが動く環境は、XOOPS Cube2.1 Alpha4-b 以降が前提となります。<br />
cubeUtils 0.1 - XC21Module-cubeUtils_0.1.zip<br />
上記のファイルをダウンロードして、解凍して下さい。<br />
解凍されたフォルダーをそのままXOOPS Cubeのルートフォルダーにコピーして下さい。<br />
管理画面よりモジュールをインストールして下さい		
3.どのように作られているの
1) AutoLogin<br />
AutoLogin機能は、基本的には、Site.LoginのDelegate関数を実装する事によって実現されています。		実際には、ログインブロックでの入力内容をクッキーに記憶したり、破棄したりするためにそのほかにも幾つかのDelegate関数が実装されています。<br />
Site.Login<br />
セッションが継続していなくても、クッキーにログイン情報が格納してれば、自動ログインを試みる<br />
Site.CheckLogin.Success<br />
ログイン画面にてログインが成功したときにログイン情報をもとにしてクッキーを生成する<br />
Site.Logout<br />
ログアウト時に、保存したクッキーを破棄する<br />
Legacypage.User.Access<br />
RemenberMe付きのログイン画面を表示させる<br />
これらのDelegate関数の定義と実装については、モジュールPreload機能によって		自動的に読み込まれるようになっています。		(/modules/cubeUtils/preload/AutoLoginHack.class.php)
2)EMLH(Easiest Multi Language Hack)<br />
Legacy_Controller.GetLanguageName Delegate関数の実装を行い、この関数内でGETパラメータ、クッキー、ブラウザの		プリファレンスを元にして、表示言語を決定します。		このDelegate関数の定義については、preFilter()の段階で行う必要があるため、		モジュール内Preloadでは無く、/preloadにMultiLanguagePreLoad.class.php を配置しています。		言語タグの扱いについては、EMLHと同様 ob_filteringにて実現しています。		別途CacheSystemを標準のstdRenderCacheを継承したクラスに置き換えて、言語毎のCacheを保存する事を可能にしています。
]]>
</content:encoded>
<dc:creator>nobunobu</dc:creator>
</item>

<item rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1/PreloadSample.html">
 <title>PreloadSample</title>
 <link>http://www.nobunobu.com/documents/?XOOPSCube2_1%2FPreloadSample</link>
 <dc:date>2006-08-21T16:41:19+09:00</dc:date>
 <description>XOOPS Cube 2.1 Preload サンプル &amp;#182;CubeUtils モジュール New!...XOOPS Cube 2.1 Preload サンプル cubeUtils モジュール New!</description>
<content:encoded>
<![CDATA[
XOOPS Cube 2.1 Preload サンプル
cubeUtils モジュール New!
]]>
</content:encoded>
<dc:creator>ゲスト</dc:creator>
</item>

<item rdf:about="http://www.nobunobu.com/documents/XOOPSCube2_1.html">
 <title>XOOPSCube2_1</title>
 <link>http://www.nobunobu.com/documents/?XOOPSCube2_1</link>
 <dc:date>2006-08-21T16:32:09+09:00</dc:date>
 <description>Delegateリファレンスマニュアル New!Site.Login New!XOOPS Cube 2.1 Preload サンプル New!cubeUtils モジュール New!&amp;#182;XOOPS Cube 2.1情報 &amp;#182;システム関連モジュール半自動リカ...</description>
<content:encoded>
<![CDATA[
XOOPS Cube 2.1情報
Delegateリファレンスマニュアル New!<br />
Site.Login New!<br />
XOOPS Cube 2.1 Preload サンプル New!<br />
cubeUtils モジュール New!
]]>
</content:encoded>
<dc:creator>nobunobu, ゲスト</dc:creator>
</item>


</rdf:RDF>