<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type="text/xsl" media="screen" href="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=rss.en.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.bshe.org/modules/xpwiki/index.php">
  <title>Bshe Site::Wiki</title>
  <link>http://www.bshe.org/modules/xpwiki/index.php</link>
  <description>xpWiki RecentChanges</description>
  <dc:date>2010-01-14T13:31:38+09:00</dc:date>
  <image rdf:resource="http://www.bshe.org/modules/xpwiki/index.phpmodule_icon.php" />
  <items>
   <rdf:Seq>
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/RecentDeleted" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init" />
    <rdf:li rdf:resource="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader" />

   </rdf:Seq>
  </items>
 </channel>
 <image rdf:about="http://www.bshe.org/modules/xpwiki/index.phpmodule_icon.php">
   <title>Bshe Site::Wiki</title>
   <link>http://www.bshe.org/modules/xpwiki/index.php</link>
   <url>http://www.bshe.org/modules/xpwiki/index.phpmodule_icon.php</url>
 </image>

<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe">
 <title>Bshe</title>
 <link>http://www.bshe.org/modules/xpwiki/</link>
 <dc:date>2010-01-13T22:48:49+09:00</dc:date>
 <dc:creator></dc:creator>
 
 <description>※Bsheはアバタス株式会社にて、公式サポートしております。Bsheへのビジネス上の機能追加やビジネスでサポートが必要な場合はアバタス株式会社までお問い合わせください。&amp;#182;
テンプレートエンジンの使い方はこちら&amp;#182;
CMS機能の使い方はこちら&amp;#182;
※Bsheはアバタス株式会社にて、公式サポートしております。Bsheへの機能追加やビジネスでサポートが必要な場合はアバタス株式会社までお問い合わせください。&amp;#182;
※BsheはLGPLにて公開しています。
※Bsheはアバ</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><p>※Bsheは<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>にて、公式サポートしております。Bsheへのビジネス上の機能追加やビジネスでサポートが必要な場合は<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>までお問い合わせください。</p>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (62d)">テンプレートエンジンの使い方はこちら</a></li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc" title="Bshe/manual/CMS/doc (45d)">CMS機能の使い方はこちら</a></li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<p>※Bsheは<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>にて、公式サポートしております。Bsheへの機能追加やビジネスでサポートが必要な場合は<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>までお問い合わせください。</p>&#182;<!--ADD_TEXT_SEP-->
<p>※BsheはLGPLにて公開しています。<br />
※Bsheは<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>にて、公式サポートしております。Bsheへの機能追加やビジネスでのご利用は<a href="http://www.abatous.jp" title="www.abatous.jp">アバタス株式会社</a>までお問い合わせください。</p></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe -- B Smart HTML Extender（デザイナ、プログラマ、顧客の分業を目指したCMS兼開発フレームワーク） 
<ul><li>  CMS機能 </li>
<li>  テンプレートエンジン </li>
<li>  その他機能マニュアルなど </li></ul></li></ul>
 </div>
</div>
<h2>Bshe -- B Smart HTML Extender（デザイナ、プログラマ、顧客の分業を目指したCMS兼開発フレームワーク）  <a href="http://www.bshe.org/modules/xpwiki/#k0ea759b" title="k0ea759b"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<p>BsheはPHP向けのテンプレートエンジンを基軸にした、PHP開発ライブラリ集です。<br />
顧客、Webデザイナー、プログラマーの分業を強く意識したつくりになっており、大きく2つの機能で構成されています。</p>
<div>&nbsp;</div>
<!--k0ea759b--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc" title="Bshe/manual/CMS/doc (219d)">CMS機能</a>  <a href="http://www.bshe.org/modules/xpwiki/#lb918bde" title="lb918bde"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<ul><li>Webデザイナーと顧客との間の分業をかなり進めていたLTSun-Engineを実装してあります。
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc" title="Bshe/manual/CMS/doc (219d)">CMS機能の使い方はこちら</a></li></ul></li>
<li>Webデザイナーが作成したHTMLに属性を付加するだけでWebページ上でそのまま利用できるCMSとして稼動する機能を持っています。</li>
<li>これにより、既存のサイトでも、Bsheと組み合わせるだけで文言の修正などを顧客へ任せることができます。</li>
<li><a href="http://bshetest.itassist.info/?bshe_specializer_auth=login" title="bshetest.itassist.info/?bshe_specializer_auth=login">サンプル</a>：IDとパスはいずれも「admin」になっています。
<div>&nbsp;</div></li></ul>
<!--lb918bde--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (352d)">テンプレートエンジン</a>  <a href="http://www.bshe.org/modules/xpwiki/#kf266717" title="kf266717"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<ul><li>CMS同様HTMLに属性を付加するだけで、PHPからHTMLへさまざまな機能を開発できるようになっています。</li>
<li>これにより、Webデザイナーはロジックを意識せずにデザインを作成できます。</li>
<li>まとまった機能を事前にプログラマが作成することで、HTMLテンプレートを差し替えるだけでさまざまなWebアプリケーションを実装できます。</li>
<li>一部ZendFrameworkを利用しており、実行にはZendFrameworkの1.53以上が必要ですが、ZendFrameworkのMVCを利用しなくても単体でテンプレートエンジンとしても利用可能です。
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (352d)">テンプレートエンジンの使い方はこちら</a>
<div>&nbsp;</div></li></ul></li>
<li>実装的にはHTMLをDOMパーサーで（独自DOM解析ロジックなどで完全なDOMではないですが）処理して、それに対して処理できる形です。PHPのDOMはシリアライズできなかったりするのですが、このエンジンではシリアライズ化してキャッシュするなどして速度向上させてます。
<div>&nbsp;</div></li></ul>
<!--kf266717--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>その他機能マニュアルなど  <a href="http://www.bshe.org/modules/xpwiki/#p4adb081" title="p4adb081"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<p>将来は、追加のモジュールで、携帯サイトやポータルサイト等も簡単に構築できるようにしてゆく予定です。</p>
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (336d)">Bshe利用マニュアル</a></li>
<li>Bshe技術資料(PHPDOCなど）</li>
<li><a href="http://www.bshe.org/modules/d3downloads/index.php" title="www.bshe.org/modules/d3downloads/index.php">Bsheダウンロード</a></li></ul>
<p>※BsheはLGPLにて公開しています。<br /></p>
<p>最後に、このライブラリの開発で利用させていただいている以下のオープンソースの開発者に感謝します。</p>
<ul><li><a href="http://framework.zend.com/" title="framework.zend.com/">Zend Framework</a></li>
<li><a href="http://www.ltsun.com/" title="www.ltsun.com/">LTSun</a></li>
<li><a href="http://www.coders.me/web-html-js-css/javascript/sexy-lightbox-2" title="www.coders.me/web-html-js-css/javascript/sexy-lightbox-2">sexylightbox2</a></li>
<li><a href="http://www.xajaxproject.org" title="www.xajaxproject.org">xajax</a></li>
<li><a href="http://tinymce.moxiecode.com/" title="tinymce.moxiecode.com/">tinyMCE</a>
<div>&nbsp;</div></li></ul><!--p4adb081--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FInstall">
 <title>Bshe/manual/Install</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install</link>
 <dc:date>2009-06-09T20:02:31+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>CMS機能でページの追加を行う場合は、上記同様に[www/_bshetemplate]以下についてもapacheから書き込みできるように設定してください。&amp;#182;
展開したフォルダのwwwフォルダをapacheの設定でAlias登録してください。（DocumentRootでも可）&amp;#182;
サンプルサイト
http://bshetest.itassist.info/
サンプルサイトCMSログイン
http://bshetest.itassist.info/?bshe_specializer</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ol><li><ol><li>CMS機能でページの追加を行う場合は、上記同様に[www/_bshetemplate]以下についてもapacheから書き込みできるように設定してください。</li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ol><li><ol><li>展開したフォルダのwwwフォルダをapacheの設定でAlias登録してください。（DocumentRootでも可）<br /></li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ul><li>サンプルサイト
<div><pre>http://bshetest.itassist.info/</pre></div></li>
<li>サンプルサイトCMSログイン
<div><pre>http://bshetest.itassist.info/?bshe_specializer_auth=login</pre></div></li></ul>&#182;<!--ADD_TEXT_SEP-->
<div><pre>Alias /myfw &quot;/test/www&quot;
&lt;Directory &quot;/test/www&quot;&gt;</pre></div>
<ol><li>.htaccessの変更
展開したフォルダのwwwの下に.htaccessファイルがあります。
この2行目の
<div><pre>RewriteBase /</pre></div>
の部分をApacheで設定したaliasと同じにこの例では
<div><pre>RewriteBase /myfw</pre></div>
に変更してください。</li></ol>
<ol><li><ol><li>展開されたフォルダの内[cache][template_c][logs][cms_c]の4つのフォルダをapacheから書き込みできるように設定してください。</li></ol></li>
<li>HTMLコンテンツ
<ol><li>www/_bshetemplate以下にHTMLコンテンツを設置することでBsheのCMS機能が利用できます。
<ol><li>通常の表示
<div><pre>http://サーバー名/myfw</pre></div></li></ol></li></ol>
<ol><li><ol><li>CMSへのログインモード（ID、PWDともに初期では「admin」となっています。
<div><pre>http://サーバー名/myfw/?bshe_specializer_auth=login</pre></div></li></ol></li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<p>※実行には、.htaccessによるRewrite設定が可能である必要があります。</p>
<div><pre>Alias /myfw &quot;/home/abe/myframework/www&quot;
&lt;Directory &quot;/home/abe/myframework/www&quot;&gt;
  Options MultiViews FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
http://[設定したURL]/test/index.html</pre></div></dd></dl><hr /><div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (318d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install#s9ce77a8" title="s9ce77a8"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--s9ce77a8--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>Bshe紹介  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install#af95e13a" title="af95e13a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--af95e13a--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>インストール  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install#md12148e" title="md12148e"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ol><li>tarボールを展開
<ol><li>任意のフォルダにtarボールを展開してください。
<div><pre>tar zxfv bshe_?_?_?_?.tgz</pre></div></li></ol></li>
<li>apacheへの設定
<ol><li>展開したフォルダのwwwフォルダをapacheの設定でAlias登録してください。（DocumentRootでも可）<br />
※実行には、.htaccessによるRewrite設定が可能である必要があります。
<div><pre>Alias /myfw &quot;/test/www&quot;
&lt;Directory &quot;/test/www&quot;&gt;
  Options MultiViews FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
&lt;/Directory&gt;</pre></div></li></ol></li>
<li>.htaccessの変更
展開したフォルダのwwwの下に.htaccessファイルがあります。
この2行目の
<div><pre>RewriteBase /</pre></div>
の部分をApacheで設定したaliasと同じにこの例では
<div><pre>RewriteBase /myfw</pre></div>
に変更してください。</li></ol>
<ol><li>書き込みフォルダアクセス権設定
<ol><li>展開されたフォルダの内[cache][template_c][logs][cms_c]の4つのフォルダをapacheから書き込みできるように設定してください。</li>
<li>よくわからない人はchmod 777してしまいましょう</li>
<li>CMS機能でページの追加を行う場合は、上記同様に[www/_bshetemplate]以下についてもapacheから書き込みできるように設定してください。</li></ol></li>
<li>HTMLコンテンツ
<ol><li>www/_bshetemplate以下にHTMLコンテンツを設置することでBsheのCMS機能が利用できます。
<ol><li>通常の表示
<div><pre>http://サーバー名/myfw</pre></div></li></ol></li></ol>
<ol><li><ol><li>CMSへのログインモード（ID、PWDともに初期では「admin」となっています。
<div><pre>http://サーバー名/myfw/?bshe_specializer_auth=login</pre></div></li></ol></li></ol></li></ol>
<ul><li>サンプルサイト
<div><pre>http://bshetest.itassist.info/</pre></div></li>
<li>サンプルサイトCMSログイン
<div><pre>http://bshetest.itassist.info/?bshe_specializer_auth=login</pre></div></li></ul><!--md12148e--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FInstall</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FCMS%2Fdoc">
 <title>Bshe/manual/CMS/doc</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc</link>
 <dc:date>2009-06-09T02:14:23+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>管理メニューページを作成し、既存のHTMLをコピーしてページを追加、削除、タイトル編集できるようにする。
削除もできる予定でしたが、オペミスで消してしまうケースもあるため、とりあえずペンディング&amp;#182;
管理メニューページを作成し、既存のHTMLをコピーしてページを追加、削除、タイトル編集できるようにする。&amp;#182;
ver.0.4（開発済み）
ver.0.5（開発中）&amp;#182;
サイトマップ自動生成
ver.0.5
ver.0.6
ver.0.7
yutube、Flickrなどの外部A</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ul><li><ul><li>管理メニューページを作成し、既存のHTMLをコピーしてページを追加、<del>削除</del>、タイトル編集できるようにする。</li>
<li>削除もできる予定でしたが、オペミスで消してしまうケースもあるため、とりあえずペンディング</li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li>管理メニューページを作成し、既存のHTMLをコピーしてページを追加、削除、タイトル編集できるようにする。</li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li>ver.0.4（開発済み）</li>
<li>ver.0.5（開発中）</li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li>サイトマップ自動生成</li></ul></li>
<li>ver.0.5</li>
<li>ver.0.6</li>
<li>ver.0.7
<ul><li>yutube、Flickrなどの外部APIを利用してのページ生成機能</li>
<li>FTPを利用して、プロバイダに保存されているHTMLを取得し編集しアップロードできるようにする。</li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li>インタフェースを現在のマウス左クリックから右クリックでメニュー表示されるようにする。</li></ul></li>
<li>ver.0.5</li></ul></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  CMS 
<ul><li>  概要 </li>
<li>  HTMLファイルの設置 </li>
<li>  テキストCMS </li>
<li>  画像CMS </li>
<li>  ログイン </li>
<li>  操作概要(テキスト) </li>
<li>  操作概要(画像) </li>
<li>  今後の展開（目標） </li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (329d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#a546043e" title="a546043e"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--a546043e--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>CMS</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#y2589259" title="y2589259"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--y2589259--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#s2635dba" title="s2635dba"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>Bsheのもっとも簡単な使い方、HTMLへ決まった属性を記載するだけでCMSとして稼動します。<br />
※<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install" title="Bshe/manual/Install (211d)">インストール手順</a>に従いインストールされたものとして説明します。</p>
<!--s2635dba--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>HTMLファイルの設置  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#ha86ce01" title="ha86ce01"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>インストールしたディレクトリ内の</p>
<div><pre>/www/_bshetemplate</pre></div>
<p>フォルダ以下に自由にHTMLを設置してください。</p>
<!--ha86ce01--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>テキストCMS  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#x395333a" title="x395333a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>テキストのタグに対して、</p>
<ul><li>HTML上で直接編集</li>
<li>WYSIWYGエディタで編集</li>
<li>保存、公開</li>
<li>履歴からサイトを更新
といった作業ができるようになります。設定は簡単、CMSの編集対象としたいタグに
<div><pre>key=&quot;bshe::cms:edittext&quot;</pre></div>
と入れるだけ、たとえば
<div><pre>&lt;div id=&quot;aaa&quot;&gt;文章&lt;/div&gt;</pre></div>
というタグの「文章」の部分をCMSから編集できるようにしたいと思った場合
<div><pre>&lt;div id=&quot;aaa&quot; key=&quot;bshe::cms:edittext&quot;&gt;文章&lt;/div&gt;</pre></div>
と書いてあげるだけで、CMSの処理対象となります。
※対象とするタグをBsheが判別するためにid属性を必ずセットする必要があります。</li></ul>
<!--x395333a--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>画像CMS  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#v6272395" title="v6272395"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>画像のimgタグに対して、</p>
<ul><li>画像の差し替え</li>
<li>外側にaタグでリンクが記載されている場合そのリンク先の修正</li>
<li>公開
といった作業ができるようになります。設定は簡単、CMSの編集対象としたいタグに
<div><pre>key=&quot;bshe::cms:editimg&quot;</pre></div>
と入れるだけ、たとえば
<div><pre>&lt;img src=&quot;images/rpt.jpg&quot; id=&quot;test&quot; width=&quot;53&quot; height=&quot;53&quot;  /&gt;</pre></div>
というタグの画像をCMSから変更できるようにしたいと思った場合
<div><pre>&lt;img src=&quot;images/rpt.jpg&quot; key=&quot;bshe::cms:editimg&quot; id=&quot;test&quot; width=&quot;53&quot; height=&quot;53&quot;  /&gt;</pre></div>
と書いてあげるだけで、CMSの処理対象となります。また、このタグの外側にaタグがある場合は自動で検出してリンクも編集可能になります。<br />
※対象とするタグをBsheが判別するためにid属性を必ずセットする必要があります。<br />
※画像のアップロードで現在のところ、トリミングや拡大縮小を行っていないため、アップロードする画像のサイズを固定にする場合は、HTMLでwidthとheightをセットする必要があります。</li></ul>
<!--v6272395--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ログイン  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#xa130025" title="xa130025"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>CMSで編集したいと思ったページのURLの後ろに</p>
<div><pre>?bshe_specializer_auth=login</pre></div>
<p>とつけるだけで、ログインのウィンドウが開きます。
デフォルトのIDとPWDはどちらもadminです。</p>
<!--xa130025--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>操作概要(テキスト)  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#x7dcc990" title="x7dcc990"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>ログインすると、編集可能な箇所に以下のようなパネルが表示されます。<br />
<img src="http://www.bshe.org/modules/xpwiki/gate.php?way=ref&amp;_nodos&amp;_noumb&amp;page=Bshe%2Fmanual%2FCMS%2Fdoc&amp;src=txtctl.png" alt="txtctl.png, SIZE:122x27(51.1KB)" title="txtctl.png, SIZE:122x27(51.1KB)" width="122" height="27" width="122" height="27" /><br />
左から</p>
<ul><li>保存
<ul><li>内容を保存します。（公開はされません）</li></ul></li>
<li>公開
<ul><li>現在の内容を公開します。（一般の人が見る内容を更新します）</li></ul></li>
<li>WYSIWYGエディタ起動
<ul><li>直接編集よりも柔軟な編集が可能です。</li></ul></li>
<li>履歴表示
<ul><li>保存した変更の履歴が30件まで表示され、それらを、選択して戻すことができます。</li></ul></li>
<li>管理画面へ移動
<ul><li>CMSの管理画面へ遷移します。</li></ul></li></ul>
<!--x7dcc990--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>操作概要(画像)  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#m1939c30" title="m1939c30"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>ログインすると、編集可能な画像はクリックすると別のウィンドウが開くようになります。<br />
<img src="http://www.bshe.org/modules/xpwiki/gate.php?way=ref&amp;_nodos&amp;_noumb&amp;page=Bshe%2Fmanual%2FCMS%2Fdoc&amp;src=img1.png" alt="img1.png, SIZE:392x198(52.2KB)" title="img1.png, SIZE:392x198(52.2KB)" width="392" height="198" width="392" height="198" /><br />
上から</p>
<ul><li>差し替えたい画像を選択</li>
<li>リンク（imgタグがaタグで囲まれている場合のみ編集可能となります）</li>
<li>タイトル（alt属性に設定される値です）</li>
<li>「保存ボタン」（保存するだけでは一般へは公開されません、プレビューのようなものです）
画像を一度保存すると、その画像をクリックすると以下のようなウィンドウが表示されます<br />
<img src="http://www.bshe.org/modules/xpwiki/gate.php?way=ref&amp;_nodos&amp;_noumb&amp;page=Bshe%2Fmanual%2FCMS%2Fdoc&amp;src=img2.png" alt="img2.png, SIZE:386x181(50.0KB)" title="img2.png, SIZE:386x181(50.0KB)" width="386" height="181" width="386" height="181" /><br />
各ボタンは</li>
<li>「公開ボタン」（今の画像を一般から見える状態へ公開します）</li>
<li>「戻すボタン」画像を元に戻します。</li></ul>
<!--m1939c30--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>今後の展開（目標）  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc#sc394ce7" title="sc394ce7"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>というよりやりたいこと</p>
<ul><li>ver.0.2（開発済み）
<ul><li>画像、リンクなどもCMSから編集可能にする。</li></ul></li>
<li>ver.0.3（開発中）
<ul><li>管理メニューページを作成し、既存のHTMLをコピーしてページを追加、<del>削除</del>、タイトル編集できるようにする。</li>
<li>削除もできる予定でしたが、オペミスで消してしまうケースもあるため、とりあえずペンディング</li></ul></li>
<li>ver.0.4（開発済み）
<ul><li>サイトマップ自動生成</li></ul></li>
<li>ver.0.5（開発中）
<ul><li>インタフェースを現在のマウス左クリックから右クリックでメニュー表示されるようにする。</li></ul></li>
<li>ver.0.6
<ul><li>imgタグに自動でCMS機能を適用する</li>
<li>ブロック要素を自動検出して、WebからCMS対象にできるようにする。</li></ul></li>
<li>ver.0.7
<ul><li>yutube、Flickrなどの外部APIを利用してのページ生成機能</li></ul></li>
<li>ver.1.0
<ul><li>ここまでの機能を整理し、ログや細かなバグFIX</li></ul></li>
<li>ver.1.0以降
<ul><li>既存のDIVタグを複製して、エントリーを増やすことができるようにする。（ブログ的な機能）</li>
<li>フィード自動生成</li>
<li>ポータル機能（このあたりからやはりDB必要かなぁ）</li>
<li>FTPを利用して、プロバイダに保存されているHTMLを取得し編集しアップロードできるようにする。</li></ul></li></ul>
<ul><li>その他将来像
<ul><li>各種ECパッケージやSaasサービスとの連携</li>
<li>管理画面へのファイルマネージャー追加</li></ul></li></ul><!--sc394ce7--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FCMS%2Fdoc</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FAssign%2FResource%2Fshow">
 <title>Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show</link>
 <dc:date>2009-04-30T23:07:48+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>selectタグセットされたoptionの中から一致しているものにselectedがセットされます（optionはhelperを利用して動的にセットできます&amp;#182;
セットする属性名称を指定して値をセットする方法&amp;#182;
セットする属性名称を指定して値をセットする方法#z70cb00a&amp;#182;
単純に値をセットする方法
セットする属性名称を指定して値をセットする方法  
上記のような単純なセットのほかに、値をセットする対象の属性を指定して値をセットすることができます。
値を属性つきで</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div ><table style=""><tbody><tr><td>selectタグ</td><td>セットされたoptionの中から一致しているものにselectedがセットされます（optionはhelperを利用して動的にセットできます</td></tr></tbody></table></div>&#182;<!--ADD_TEXT_SEP-->
<ul><li>セットする属性名称を指定して値をセットする方法</li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li>セットする属性名称を指定して値をセットする方法#z70cb00a</li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li>単純に値をセットする方法</li></ul>
<div>
<h6>セットする属性名称を指定して値をセットする方法  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#z70cb00a" title="z70cb00a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>上記のような単純なセットのほかに、値をセットする対象の属性を指定して値をセットすることができます。<br />
値を属性つきで指定する場合は、次のような構造の配列を用います。</p>
<div><pre>array(
  'a' =&gt; 
    array('style' ,'color: #FF0000;')
)</pre></div>
<p>ここで、</p>
<ul><li>'a'は値のセット（assign）をあらわします。</li>
<li>配列の中の「style」はstyle属性に対する処理であることを示します。</li>
<li>「color: #FF0000;」はstyle属性に対してセットする値を示します。
この配列を以下の用はHTMLを用意し
<div><pre>&lt;div &quot;key=bshe::a&quot;&gt;&lt;/div&gt;</pre></div>
先ほどの配列を次のようにセットすることで、
<div><pre>$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div>
次のようなHTMLが生成されます。
<div><pre>&lt;div style=&quot;color: #FF0000;&quot;&gt;&lt;/div&gt;</pre></div>
また、同じ値に対して繰り返し、配列をセットすることで、複数の属性処理を投入することができます。<br />
同じHTMLに対して、次のように配列セットをすると
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;
$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div>
次のようなHTMLが生成されます。
<div><pre>&lt;div style=&quot;color: #FF0000;&quot;&gt;任意の文字列&lt;/div&gt;</pre></div>
また、上記のセット処理は次の記載と同じ意味です。
<div><pre>$view-&gt;a = array( 'a' =&gt; array( 'innerHTML' ,&quot;任意の文字列&quot;));
$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div></li></ul><!--z70cb00a--></div>&#182;<!--ADD_TEXT_SEP-->
<p>HTMLテンプレートはタグの集合でできています。Bshe_ViewはHTMLタグの各種属性やタグの内部テキスト（innerHTML）に対して簡単に値をセットするリソースクラスを提供しています。<br />
Bshe_Viewに対して、値を設定するためには2つの方法が提供されています。</p>
<ul><li>単純に値をセットする方法</li>
<li>セットする属性名称を指定して値をセットする方法</li></ul>
<div>
<h6>単純に値をセットする方法  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#gabaf84d" title="gabaf84d"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>Bshe_Viewのインスタンスに対して「-&gt;」で直接変数を指定して値をセットすることで、<br />
Bshe_Viewに対して、単に値を設定することができます。</p>
<p>以下のようなHTMLがあるとします。</p>
<div><pre>&lt;div &quot;key=bshe::a&quot;&gt;&lt;/div&gt;</pre></div>
<p>このとき、Bshe_Viewのインスタンスに以下のように値をセットすることで</p>
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;</pre></div>
<p>次のようなHTMLが生成されます。</p>
<div><pre>&lt;div &gt;任意の文字列&lt;/div&gt;</pre></div>
<p>上記の例では、divなどのブロックタグのため、innerHTMLに対して値のセットが行われましたが<br />
この値のセットは、タグの種類によって、（特にinputタグなど）挙動が異なります。</p>
<div ><table style=""><tbody><tr><td><strong>タグ種別</strong></td><td><strong>表示内容</strong></td></tr><tr><td>div,spanなど範囲を指定するタグ</td><td>innerHTML（&lt;div&gt;&lt;/div&gt;のタグの間に値を出力します）</td></tr><tr><td>inputタグでtypeがtext,password,hidden,submit,reset,button</td><td>value属性に値がセットされます</td></tr><tr><td>checkbox,radio</td><td>value属性にセットされている文字列と、変数の値が一致している場合にcheckedがセットされます</td></tr><tr><td>image</td><td>src属性に値がセットされます</td></tr><tr><td>file</td><td>何もしません</td></tr></tbody></table></div>
<p>たとえば、以下のようなinputタグがあるとします。</p>
<div><pre>&lt;input type=&quot;text&quot; &quot;key=bshe::a&quot; /&gt;</pre></div>
<p>このとき、Bshe_Viewのインスタンスに以下のように値をセットすることで</p>
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;</pre></div>
<p>次のようなHTMLが生成されます。</p>
<div><pre>&lt;input type=&quot;text&quot; value=&quot;任意の文字列&quot; /&gt;</pre></div>
<p>のようにvalue属性に値がセットされます。</p><!--gabaf84d--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_View（テンプレートエンジンマニュアル） 
<ul><li>  プログラマー向けマニュアル:値のセット 
<ul><li>  単純な値の属性へのセット 
<ul><li>  単純に値をセットする方法 </li>
<li>  セットする属性名称を指定して値をセットする方法 </li></ul></li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (332d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#fd57ce5d" title="fd57ce5d"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--fd57ce5d--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (348d)">Bshe_View（テンプレートエンジンマニュアル）</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#m7df78d5" title="m7df78d5"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--m7df78d5--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer" title="Bshe/manual/Bshe_View/doc/Programmer (348d)">プログラマー向けマニュアル</a>:<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign" title="Bshe/manual/Bshe_View/doc/Programmer/Assign (355d)">値のセット</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#t1c99d12" title="t1c99d12"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--t1c99d12--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><span>単純な値の属性へのセット</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#q139ca71" title="q139ca71"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>HTMLテンプレートはタグの集合でできています。Bshe_ViewはHTMLタグの各種属性やタグの内部テキスト（innerHTML）に対して簡単に値をセットするリソースクラスを提供しています。<br />
Bshe_Viewに対して、値を設定するためには2つの方法が提供されています。</p>
<ul><li>単純に値をセットする方法</li>
<li>セットする属性名称を指定して値をセットする方法</li></ul>
<!--q139ca71--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>単純に値をセットする方法  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#gabaf84d" title="gabaf84d"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>Bshe_Viewのインスタンスに対して「-&gt;」で直接変数を指定して値をセットすることで、<br />
Bshe_Viewに対して、単に値を設定することができます。</p>
<p>以下のようなHTMLがあるとします。</p>
<div><pre>&lt;div &quot;key=bshe::a&quot;&gt;&lt;/div&gt;</pre></div>
<p>このとき、Bshe_Viewのインスタンスに以下のように値をセットすることで</p>
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;</pre></div>
<p>次のようなHTMLが生成されます。</p>
<div><pre>&lt;div &gt;任意の文字列&lt;/div&gt;</pre></div>
<p>上記の例では、divなどのブロックタグのため、innerHTMLに対して値のセットが行われましたが<br />
この値のセットは、タグの種類によって、（特にinputタグなど）挙動が異なります。</p>
<div ><table style=""><tbody><tr><td><strong>タグ種別</strong></td><td><strong>表示内容</strong></td></tr><tr><td>div,spanなど範囲を指定するタグ</td><td>innerHTML（&lt;div&gt;&lt;/div&gt;のタグの間に値を出力します）</td></tr><tr><td>inputタグでtypeがtext,password,hidden,submit,reset,button&#8203;</td><td>value属性に値がセットされます</td></tr><tr><td>selectタグ</td><td>セットされたoptionの中から一致しているものにselectedがセットされます（optionはhelperを利用して動的にセットできます</td></tr><tr><td>checkbox,radio</td><td>value属性にセットされている文字列と、変数の値が一致している場合にcheckedがセットされます</td></tr><tr><td>image</td><td>src属性に値がセットされます</td></tr><tr><td>file</td><td>何もしません</td></tr></tbody></table></div>
<p>たとえば、以下のようなinputタグがあるとします。</p>
<div><pre>&lt;input type=&quot;text&quot; &quot;key=bshe::a&quot; /&gt;</pre></div>
<p>このとき、Bshe_Viewのインスタンスに以下のように値をセットすることで</p>
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;</pre></div>
<p>次のようなHTMLが生成されます。</p>
<div><pre>&lt;input type=&quot;text&quot; value=&quot;任意の文字列&quot; /&gt;</pre></div>
<p>のようにvalue属性に値がセットされます。</p>
<!--gabaf84d--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>セットする属性名称を指定して値をセットする方法  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Assign/Resource/show#z70cb00a" title="z70cb00a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>上記のような単純なセットのほかに、値をセットする対象の属性を指定して値をセットすることができます。<br />
値を属性つきで指定する場合は、次のような構造の配列を用います。</p>
<div><pre>array(
  'a' =&gt; 
    array('style' ,'color: #FF0000;')
)</pre></div>
<p>ここで、</p>
<ul><li>'a'は値のセット（assign）をあらわします。</li>
<li>配列の中の「style」はstyle属性に対する処理であることを示します。</li>
<li>「color: #FF0000;」はstyle属性に対してセットする値を示します。
この配列を以下の用はHTMLを用意し
<div><pre>&lt;div &quot;key=bshe::a&quot;&gt;&lt;/div&gt;</pre></div>
先ほどの配列を次のようにセットすることで、
<div><pre>$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div>
次のようなHTMLが生成されます。
<div><pre>&lt;div style=&quot;color: #FF0000;&quot;&gt;&lt;/div&gt;</pre></div>
また、同じ値に対して繰り返し、配列をセットすることで、複数の属性処理を投入することができます。<br />
同じHTMLに対して、次のように配列セットをすると
<div><pre>$view-&gt;a = &quot;任意の文字列&quot;;
$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div>
次のようなHTMLが生成されます。
<div><pre>&lt;div style=&quot;color: #FF0000;&quot;&gt;任意の文字列&lt;/div&gt;</pre></div>
また、上記のセット処理は次の記載と同じ意味です。
<div><pre>$view-&gt;a = array( 'a' =&gt; array( 'innerHTML' ,&quot;任意の文字列&quot;));
$view-&gt;a = array( 'a' =&gt; array( 'style' ,'color: #FF0000;'));</pre></div></li></ul><!--z70cb00a--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FAssign%2FResource%2Fshow</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual">
 <title>Bshe/manual</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual</link>
 <dc:date>2009-02-12T00:03:55+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>CMS機能
HTMLに決まった属性をセットするのみで、CMSになります。&amp;#182;
Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）
HTMLファイル領域とフレームワークのMVCを完全に分離する機能を持つ&amp;#182;
Bshe_Mobile_Session&amp;#182;
Bshe_Mobile&amp;#182;
携帯電話向けサイトを構築するための各種機能を持つ（予定）&amp;#182;
Bshe利用マニュアル  
</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ol><li>CMS機能
<ol><li>HTMLに決まった属性をセットするのみで、CMSになります。</li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc" title="Bshe/manual/Bshe_Specializer/doc (13d)">Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</a>
<ol><li>HTMLファイル領域とフレームワークのMVCを完全に分離する機能を持つ</li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ol><li><ol><li><ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session" title="Bshe/manual/Bshe_Mobile_Session (0m)">Bshe_Mobile_Session</a></li></ol></li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ol><li><ol><li>Bshe_Mobile</li></ol></li></ol>&#182;<!--ADD_TEXT_SEP-->
<ol><li><ol><li>携帯電話向けサイトを構築するための各種機能を持つ（予定）</li></ol></li></ol></dd></dl><hr /><div>
<h2><span>Bshe利用マニュアル</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual#ebbcfbc2" title="ebbcfbc2"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<ol><li>Bsheの紹介
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview" title="Bshe/manual/Overview (321d)">概要</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Install" title="Bshe/manual/Install (204d)">インストール</a></li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/CMS/doc" title="Bshe/manual/CMS/doc (204d)">CMS機能</a>
<ol><li>HTMLに決まった属性をセットするのみで、CMSになります。</li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc" title="Bshe/manual/Bshe_Specializer/doc (335d)">Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</a>
<ol><li>HTMLファイル領域とフレームワークのMVCを完全に分離する機能を持つ</li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (338d)">Bshe_View（テンプレートエンジンマニュアル）</a>
<ol><li>HTMLへ属性を指定するだけで各種機能を実現することのできるWebデザインとロジックを完全に分離したテンプレートエンジン</li>
<li>携帯電話向けサイトを構築するための各種機能を持つ（予定）</li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/classes" title="Bshe/manual/classes (349d)">Bshe各クラス利用マニュアル</a>
<ol><li>Bshe_Controller
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init" title="Bshe/manual/Bshe_Controller_Init (337d)">Bshe_Controller_Init</a></li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Dom" title="Bshe/manual/Bshe_Dom (379d)">Bshe_Dom</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader" title="Bshe/manual/Bshe_Loader (337d)">Bshe_Loader</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Log" title="Bshe/manual/Bshe_Log (379d)">Bshe_Log</a>
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Log_Writer_Dailystream" title="Bshe/manual/Bshe_Log_Writer_Dailystream (375d)">Bshe_Log_Writer_Dailystream</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Log_Writer_Maillog" title="Bshe/manual/Bshe_Log_Writer_Maillog (375d)">Bshe_Log_Writer_Maillog</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Log_Writer_Syslog" title="Bshe/manual/Bshe_Log_Writer_Syslog (375d)">Bshe_Log_Writer_Syslog</a></li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile" title="Bshe/manual/Bshe_Mobile (337d)">Bshe_Mobile</a>
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session" title="Bshe/manual/Bshe_Mobile_Session (337d)">Bshe_Mobile_Session</a></li></ol></li>
<li>Bshe_Registry
<ol><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config" title="Bshe/manual/Bshe_Registry_Config (337d)">Bshe_Registry_Config</a></li></ol></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc" title="Bshe/manual/Bshe_Specializer/doc (335d)">Bshe_Specializer</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (338d)">Bshe_View</a></li></ol></li></ol><!--ebbcfbc2--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FOverview">
 <title>Bshe/manual/Overview</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview</link>
 <dc:date>2009-02-11T23:48:57+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>作者はWebデザイナーと仕事をさせていただく機会も多く、デザイナーにロジックを意識させずにHTMLテンプレートを処理させ、さらに簡単にCMSとして機能させることができるようにすることで、顧客、デザイナー、プログラマーの分業を実現することを重要視したテンプレートエンジンとなっております。
Bsheを使って、ECやその他さまざまなPHPのサイトを構築した際には、プログラマーは、各タグに設定してもらいたいキー属性の表を情報共有するのみで、HTMLデザイナーとの連携が事足り、また、文言については顧客が直</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><p>作者はWebデザイナーと仕事をさせていただく機会も多く、デザイナーにロジックを意識させずにHTMLテンプレートを処理させ、さらに簡単にCMSとして機能させることができるようにすることで、顧客、デザイナー、プログラマーの分業を実現することを重要視したテンプレートエンジンとなっております。<br />
Bsheを使って、ECやその他さまざまなPHPのサイトを構築した際には、プログラマーは、各タグに設定してもらいたいキー属性の表を情報共有するのみで、HTMLデザイナーとの連携が事足り、また、文言については顧客が直接編集できるようになるといいと考えています。<br /></p></dd></dl><hr /><div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (333d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview#s9ce77a8" title="s9ce77a8"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--s9ce77a8--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>Bshe紹介  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview#af95e13a" title="af95e13a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--af95e13a--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Overview#c4311f5c" title="c4311f5c"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>Bsheは作者がZendFrameworkの勉強を兼ねて、作者の利用しやすいテンプレートエンジンや各種クラスを作成したものを公開したものです。<br />
作者はWebデザイナーと仕事をさせていただく機会も多く、デザイナーにロジックを意識させずにHTMLテンプレートを処理させ、さらに簡単にCMSとして機能させることができるようにすることで、顧客、デザイナー、プログラマーの分業を実現することを重要視したテンプレートエンジンとなっております。<br />
Bsheを使って、ECやその他さまざまなPHPのサイトを構築した際には、プログラマーは、各タグに設定してもらいたいキー属性の表を情報共有するのみで、HTMLデザイナーとの連携が事足り、また、文言については顧客が直接編集できるようになるといいと考えています。<br /></p>
<div><pre>Bshe</pre></div>
<p>とは、</p>
<div><pre>B　Smart　HTML　Extender</pre></div>
<p>の略で、HTMLをできるだけシンプルにスマートにロジックを乗せこんだ拡張ができるように開発を進めています。</p>
<p>ライセンスはLGPLで公開しておりますので、自由にお使いください。
バグ等の情報はbshe@bshe.org宛てまたは、このWebページのフォーラムまでお願いします。</p><!--c4311f5c--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FOverview</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Specializer%2Fdoc">
 <title>Bshe/manual/Bshe_Specializer/doc</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc</link>
 <dc:date>2009-01-29T00:25:06+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>フォルダ構成
Apacheへの設定方法
HTMLテンプレートフォルダとコントローラーの紐付け
配列による紐付け
INIファイルによる紐付け
コントローラーの作成&amp;#182;
コントローラーの作成&amp;#182;
Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）&amp;#182;
Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラ</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ul><li><ul><li>フォルダ構成</li>
<li>Apacheへの設定方法</li>
<li>HTMLテンプレートフォルダとコントローラーの紐付け
<ul><li>配列による紐付け</li>
<li>INIファイルによる紐付け</li></ul></li>
<li>コントローラーの作成</li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><ul><li>コントローラーの作成</li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc" title="Bshe/manual/Bshe_Specializer/doc (0m)">Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</a></li></ul>&#182;<!--ADD_TEXT_SEP-->
<ul><li>Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</li></ul></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群） 
<ul><li>  概要 </li>
<li>  目次 </li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (332d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc#s7159074" title="s7159074"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--s7159074--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc#d4bfde83" title="d4bfde83"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--d4bfde83--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc#v42cc33f" title="v42cc33f"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>HTMLテンプレートフォルダとZendFrameworkのMVCモデルの分離を実現したクラス群<br />
AというフォルダにHTMLテンプレートをそのまま静的ページとして参照できる形で設置（画像やCSS、フォルダ構成も自由）し<br />
このフォルダへのアクセスについて、cssやjpgのようなFrameworkで処理しないものを除き
Bsheのコントローラーへ転送する仕組みを提供する。<br />
また、今後このクラス群に対して、携帯向けの機能や、ポータルを作成する機能などを追加してゆく。</p>
<!--v42cc33f--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>目次  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc#e08cfd54" title="e08cfd54"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li><span>Bshe_Specializer（HTMLテンプレート領域とプログラムを完全分離するZendFrameworkのMVCを継承した各種クラス群）</span>
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc/path" title="Bshe/manual/Bshe_Specializer/doc/path (348d)">フォルダ構成</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc/HTML2MVC" title="Bshe/manual/Bshe_Specializer/doc/HTML2MVC (348d)">HTMLテンプレートフォルダとコントローラーの紐付け</a>
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc/HTML2MVC/array" title="Bshe/manual/Bshe_Specializer/doc/HTML2MVC/array (348d)">配列による紐付け</a></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc/HTML2MVC/ini" title="Bshe/manual/Bshe_Specializer/doc/HTML2MVC/ini (348d)">INIファイルによる紐付け</a></li></ul></li>
<li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Specializer/doc/controller" title="Bshe/manual/Bshe_Specializer/doc/controller (348d)">コントローラーの作成</a></li></ul></li></ul><!--e08cfd54--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Specializer%2Fdoc</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?RecentDeleted">
 <title>RecentDeleted</title>
 <link>http://www.bshe.org/modules/xpwiki/index/RecentDeleted</link>
 <dc:date>2009-01-29T00:24:42+09:00</dc:date>
 <dc:creator></dc:creator>
 
 <description>2009-01-29 (木) 00:24:41 - Bshe&amp;#8203;/manual&amp;#8203;/Bshe_Specializer&amp;#8203;/doc&amp;#8203;/apa&amp;#8203;che
2009-01-26 (月) 23:43:58 - Bshe&amp;#8203;/manual&amp;#8203;/Bshe_Registry
2009-01-26 (月) 22:36:11 - Bshe&amp;#8203;/manual&amp;#8203;/Bshe_View&amp;#8203;/doc&amp;#8203;/HTM</description>
 <content:encoded><![CDATA[
 <ul><li>2009-01-29 (木) 00:24:41 - Bshe&#8203;/manual&#8203;/Bshe_Specializer&#8203;/doc&#8203;/apa&#8203;che</li>
<li>2009-01-26 (月) 23:43:58 - Bshe&#8203;/manual&#8203;/Bshe_Registry</li>
<li>2009-01-26 (月) 22:36:11 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/doc&#8203;/HTML2MVC&#8203;/&#8203;ini</li>
<li>2009-01-26 (月) 22:35:15 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/doc&#8203;/HTML2MVC&#8203;/&#8203;array</li>
<li>2009-01-26 (月) 22:34:30 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/doc&#8203;/HTML2MVC</li>
<li>2009-01-26 (月) 22:33:38 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/doc&#8203;/apache</li>
<li>2009-01-26 (月) 22:32:28 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/doc&#8203;/path</li>
<li>2009-01-18 (日) 15:40:28 - Bshe&#8203;/manual&#8203;/Bshe_Vew&#8203;/doc&#8203;/Programmer&#8203;&#8203;/Init&#8203;/Template</li>
<li>2009-01-18 (日) 15:39:31 - Bshe&#8203;/manual&#8203;/Bshe_Vew&#8203;/doc&#8203;/Programmer&#8203;&#8203;/Init</li>
<li>2009-01-15 (木) 01:56:32 - Bshe&#8203;/manual&#8203;/Bshe_View&#8203;/Designer</li>
<li>2009-01-15 (木) 01:47:38 - Bshe​&#8203;/manual​</li>
<li>2009-01-15 (木) 01:46:12 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/manual</li>
<li>2009-01-15 (木) 01:45:28 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer&#8203;/key</li>
<li>2009-01-15 (木) 01:42:39 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer&#8203;/Helper&#8203;/numberform&#8203;at</li>
<li>2009-01-15 (木) 01:41:27 - Bshe​&#8203;/manual​&#8203;/Bshe_View&#8203;/doc&#8203;/Designer&#8203;/Helper</li>
<li>2009-01-15 (木) 01:40:30 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer&#8203;/deleteme</li>
<li>2009-01-15 (木) 01:40:06 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer</li>
<li>2009-01-15 (木) 01:39:32 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer&#8203;/table</li>
<li>2009-01-15 (木) 01:38:36 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc&#8203;/Designer&#8203;/select</li>
<li>2009-01-15 (木) 01:37:30 - Bshe​​&#8203;/manual​​&#8203;/Bshe_View​​&#8203;/doc</li>
<li>2009-01-15 (木) 01:35:37 - Bshe​&#8203;/manual​&#8203;/Bshe_View​&#8203;/doc</li>
<li>2009-01-15 (木) 01:32:49 - Bshe​</li>
<li>2008-12-20 (土) 15:16:34 - Bshe&#8203;/manual&#8203;/Bshe_View_Engine</li>
<li>2008-12-12 (金) 15:46:15 - Top</li></ul>

 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?RecentDeleted</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Mobile_Session">
 <title>Bshe/manual/Bshe_Mobile_Session</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session</link>
 <dc:date>2009-01-27T01:12:54+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>
Bshe_Mobile_Session  &amp;#182;
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_Mobile 
  Bshe_Mobile_Session 
  概要 
  機能内容 
  設定例 
 
Bshe利用マニュアル  
Bshe_Mobile  
Bshe_Mobile_Session  
概要  
Bshe_Viewと連携して、docomo携帯のみsession_idをGETまたはPOSTのパラメーターへセットします。
</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div>
<h4><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session" title="Bshe/manual/Bshe_Mobile_Session (0m)">Bshe_Mobile_Session</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#k64144dc" title="k64144dc"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4><!--k64144dc--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Mobile 
<ul><li>  Bshe_Mobile_Session 
<ul><li>  概要 </li>
<li>  機能内容 </li>
<li>  設定例 </li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (318d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#qa6d484e" title="qa6d484e"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--qa6d484e--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile" title="Bshe/manual/Bshe_Mobile (334d)">Bshe_Mobile</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#zd15e447" title="zd15e447"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--zd15e447--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><span>Bshe_Mobile_Session</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#k64144dc" title="k64144dc"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--k64144dc--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#yba29099" title="yba29099"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>Bshe_Viewと連携して、docomo携帯のみsession_idをGETまたはPOSTのパラメーターへセットします。<br />
携帯端末の判別にはPEARのNet_UserAgent_Mobile 1.0.0RC1以上が必要です。</p>
<!--yba29099--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>機能内容  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#l6941121" title="l6941121"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>テンプレートのafterAssignsへBshe_Mobile_Session::setSessionIdForDoco&#8203;moをセットします。<br />
詳細は<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#jf4f6494" title="Bshe/manual/Bshe_View/doc/Programmer/Init/Others (334d)">Bshe_Viewの設定</a>参照</p>
<p>後は、Bshe_Mobile_Sessionでsessionを開始するだけで、DOCOMO端末の場合のみBshe_Viewは、<br />
formタグ、aタグ、input(type=imgのみ）に対してセッション名IDを付与します。</p>
<!--l6941121--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>設定例  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session#nc083074" title="nc083074"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>コントローラー内で以下のように、パラメーターをViewへセットし、<br />
Bshe_Mobile_Session::startを呼び出します。</p>
<div><pre>$params =
  array(
    'templatePath' =&gt; $mainPath . $config-&gt;template_path,
    'afterAssigns' =&gt; array(
      array(
        'className' =&gt; 'Bshe_Mobile_Session',
        'methodName' =&gt; 'setSessionIdForDocomo'
      )
    )
  );
$this-&gt;view = New Bshe_View($params);</pre></div>
<div><pre>// セッション処理
Bshe_Mobile_Session::start();
// render
$this-&gt;view-&gt;render('index.html');</pre></div><!--nc083074--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Mobile_Session</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FInit%2FOthers">
 <title>Bshe/manual/Bshe_View/doc/Programmer/Init/Others</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others</link>
 <dc:date>2009-01-27T01:05:57+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_View（テンプレートエンジンマニュアル） 
  プログラマー向けマニュアル:設定 
  その他設定可能項目 
  テンプレートのafterAssign関数 
 
Bshe利用マニュアル  
Bshe_View（テンプレートエンジンマニュアル）  
プログラマー向けマニュアル:設定  
その他設定可能項目  
テンプレートのafterAssign関数  
Bshe_Viewでは、テンプレートへア</description>
 <content:encoded><![CDATA[
 <div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_View（テンプレートエンジンマニュアル） 
<ul><li>  プログラマー向けマニュアル:設定 
<ul><li>  その他設定可能項目 
<ul><li>  テンプレートのafterAssign関数 </li></ul></li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (231d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#l26873fd" title="l26873fd"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--l26873fd--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (247d)">Bshe_View（テンプレートエンジンマニュアル）</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#y70db138" title="y70db138"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--y70db138--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer" title="Bshe/manual/Bshe_View/doc/Programmer (247d)">プログラマー向けマニュアル</a>:<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init" title="Bshe/manual/Bshe_View/doc/Programmer/Init (247d)">設定</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#jfccfb33" title="jfccfb33"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--jfccfb33--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><span>その他設定可能項目</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#i509e965" title="i509e965"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<!--i509e965--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>テンプレートのafterAssign関数  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Others#jf4f6494" title="jf4f6494"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>Bshe_Viewでは、テンプレートへアサイン処理を実行する後にあらかじめ設定したメソッドを実行させることができます。
設定は<strong>afterAssigns</strong>というキーの配列を追加することで行います。<br />
複数のメソッドをセットできるため、多重配列で指定します。</p>
<div><pre>$params =
  array(
    'afterAssigns' =&gt; array(
      array(
        'className' =&gt; メソッドクラス名,
        'methodName' =&gt; メソッド名
      )
    )
  );
$this-&gt;view = New Bshe_View($params);</pre></div>
<ul><li>メソッドクラス名、メソッド名
<ul><li>指定したクラスの指定したメソッドがstaticに呼ばれます。</li>
<li>指定したメソッドは引数にテンプレートクラスをとります。</li>
<li>返値にもテンプレートクラスを返します。</li></ul></li></ul>
<ul><li>設定例
メソッドクラスが「Bshe_Mobile_Session」で、メソッドが「setSessionIdForDocomo」の場合、<br />
<div><pre>$params =
  array(
    'afterAssigns' =&gt; array(
      array(
        'className' =&gt; メソッドクラス名,
        'methodName' =&gt; メソッド名
      )
    )
  );
$this-&gt;view = New Bshe_View($params);</pre></div></li></ul><!--jf4f6494--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FInit%2FOthers</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FInit%2FTemplate">
 <title>Bshe/manual/Bshe_View/doc/Programmer/Init/Template</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template</link>
 <dc:date>2009-01-27T01:01:23+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>テンプレートファイル
通常、テンプレートクラスからrenderメソッドを呼び出してHTMLの出力を生成する際に指定します。&amp;#182;
プログラマー向けマニュアル:設定  &amp;#182;
テンプレートパスが/templateで、対象テンプレートがindex.htmlの場合、以下のように指定してBshe_Viewをインスタンス化します。&amp;#182;
テンプレートパスが/templateで、対象テンプレートがindex.xhtmlの場合、以下のように指定してBshe_Viewをインスタンス化します。
</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ul><li>テンプレートファイル
<ul><li>通常、テンプレートクラスからrenderメソッドを呼び出してHTMLの出力を生成する際に指定します。<br /></li></ul></li></ul>&#182;<!--ADD_TEXT_SEP-->
<div>
<h4><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer" title="Bshe/manual/Bshe_View/doc/Programmer (3m)">プログラマー向けマニュアル</a>:<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init" title="Bshe/manual/Bshe_View/doc/Programmer/Init (3m)">設定</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#m061bba6" title="m061bba6"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4><!--m061bba6--></div>&#182;<!--ADD_TEXT_SEP-->
<p>テンプレートパスが<strong>/template</strong>で、対象テンプレートが<strong>index.html</strong>の場合、以下のように指定してBshe_Viewをインスタンス化します。</p>&#182;<!--ADD_TEXT_SEP-->
<p>テンプレートパスが<strong>/template</strong>で、対象テンプレートが<strong>index.xhtml</strong>の場合、以下のように指定してBshe_Viewをインスタンス化します。</p>
<div><pre>$params =
  array(
    'templatePath' =&gt; '/template', // テンプレートパス
    'templateFile' =&gt; 'index.html', // テンプレートファイル
  );
$view = New Bshe_View( $params);</pre></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_View（テンプレートエンジンマニュアル） 
<ul><li>  プログラマー向けマニュアル:設定 
<ul><li>  テンプレートの指定 
<ul><li>  テンプレートパスとテンプレートファイル </li>
<li>  設定例 </li></ul></li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (330d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#fd57ce5d" title="fd57ce5d"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--fd57ce5d--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc" title="Bshe/manual/Bshe_View/doc (346d)">Bshe_View（テンプレートエンジンマニュアル）</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#m7df78d5" title="m7df78d5"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--m7df78d5--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer" title="Bshe/manual/Bshe_View/doc/Programmer (346d)">プログラマー向けマニュアル</a>:<a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init" title="Bshe/manual/Bshe_View/doc/Programmer/Init (346d)">設定</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#m061bba6" title="m061bba6"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--m061bba6--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><span>テンプレートの指定</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#mf8ab14e" title="mf8ab14e"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<!--mf8ab14e--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>テンプレートパスとテンプレートファイル  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#v661b53c" title="v661b53c"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>Bshe_Viewでは、テンプレートをテンプレートパスとテンプレートファイルの2つの項目で設定できます。<br /></p>
<ul><li>テンプレートパス
<ul><li>通常、Bshe_Viewクラスをインスタンス化する際に設定します。</li>
<li>テンプレートファイルを検索する際の、ルートフォルダを指定します。</li></ul></li>
<li>テンプレートファイル
<ul><li>通常、テンプレートクラスからrenderメソッドを呼び出してHTMLの出力を生成する際に指定します。<br /></li>
<li>テンプレートファイルは、ファイル名またはテンプレートパス以下のパスを含んだファイル名で指定します。</li></ul></li></ul>
<p>例）テンプレートパスが/templateで、利用するファイルが/template/aaa/bbb.htmlの場合、<br />
　テンプレートパスに/template<br />
　テンプレートファイルに/aaa/bbb.html<br />
　を指定します。</p>
<!--v661b53c--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>設定例  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_View/doc/Programmer/Init/Template#u1275a25" title="u1275a25"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h6>
<p>テンプレートパスが<strong>/template</strong>で、対象テンプレートが<strong>index.html</strong>の場合、以下のように指定してBshe_Viewをインスタンス化します。</p>
<div><pre>$params =
  array(
    'templatePath' =&gt; '/template', // テンプレートパス
    'templateFile' =&gt; 'index.html', // テンプレートファイル
  );
$view = New Bshe_View( $params);</pre></div><!--u1275a25--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_View%2Fdoc%2FProgrammer%2FInit%2FTemplate</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Registry_Config">
 <title>Bshe/manual/Bshe_Registry_Config</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config</link>
 <dc:date>2009-01-27T00:57:44+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>
Bshe_Registry_Config  &amp;#182;
Bshe_Registry_Config  &amp;#182;
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_Registry_Config 
  概要 
  機能内容 
  INIファイルパス登録 
  コンフィグクラス取得 
 
Bshe利用マニュアル  
Bshe_Registry_Config  
概要  
ZendFrameworkのZend_RegistryにZend_Conf</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div>
<h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config" title="Bshe/manual/Bshe_Registry_Config (4m)">Bshe_Registry_Config</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#cc443ebc" title="cc443ebc"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3><!--cc443ebc--></div>&#182;<!--ADD_TEXT_SEP-->
<div>
<h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config" title="Bshe/manual/Bshe_Registry_Config (1h)">Bshe_Registry_Config</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#n0b03cc3" title="n0b03cc3"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3><!--n0b03cc3--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Registry_Config 
<ul><li>  概要 </li>
<li>  機能内容 
<ul><li>  INIファイルパス登録 </li>
<li>  コンフィグクラス取得 </li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (331d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#zbd89d3a" title="zbd89d3a"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--zbd89d3a--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>Bshe_Registry_Config</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#cc443ebc" title="cc443ebc"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--cc443ebc--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#r947477c" title="r947477c"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li>ZendFrameworkのZend_RegistryにZend_Configの機能をマージしたもの</li>
<li>Iniファイルの内容について、Registryへ問い合わせた際に、あらかじめ決められたINIファイルの内容を読込それを返す。</li>
<li>Iniファイルを読み込んだ際にはZend_Registryへそのコンフィグクラスを保存する。</li>
<li>Iniファイルがすでに読み込まれている場合は、INIファイルを読み直さずにRegistryからコンフィグクラスを返す。</li></ul>
<!--r947477c--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>機能内容  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#se7044e8" title="se7044e8"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--se7044e8--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>INIファイルパス登録  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#c58c46d1" title="c58c46d1"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>読み込むINIファイルの振るパスを設定する。</p>
<div><pre>Bshe_Registry_Config::setInitPath([INIファイルの振るパス]);</pre></div>
<p>以下のようにセットしておくことで、プログラム内からBshe_Registry_Configのメソッドを呼ぶことで、コンフィグクラスを取得できる。</p>
<div><pre>// パス設定
Bshe_Registry_Config::setInitPath('/init/bshe.ini');
// Zend_RegistryへBshe_Registry_Configをセット
Zend_Registry::setClassName('Bshe_Registry_Config');</pre></div>
<!--c58c46d1--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>コンフィグクラス取得  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Registry_Config#fcbd392f" title="fcbd392f"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>setInitPathにて設定されたINIファイルからコンフィグクラスを生成し返す。<br />
コンフィグクラスはZend_Registryへ保存され、2回目からはRegistryからコンフィグクラスを返す。</p>
<div><pre>Bshe_Registry_Config::getConfig([INIファイル内のセクション]);</pre></div>
<p>INIファイルの内容がBshe_Config_Iniクラスへ取得される</p><!--fcbd392f--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Registry_Config</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Mobile">
 <title>Bshe/manual/Bshe_Mobile</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile</link>
 <dc:date>2009-01-27T00:56:07+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>
Bshe_Mobile  &amp;#182;
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_Mobile 
  概要 
  目次 
  機能内容 
 
Bshe利用マニュアル  
Bshe_Mobile  
概要  
Bsheで携帯向けWebサイトを構築する機能を付与するクラス群
目次  
Bshe_Mobile
Bshe_Mobile_Session
機能内容  
Bshe_Viewと連携して、docomo携帯のみsession_idをGETま</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div>
<h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile" title="Bshe/manual/Bshe_Mobile (0m)">Bshe_Mobile</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#n056fbab" title="n056fbab"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3><!--n056fbab--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Mobile 
<ul><li>  概要 </li>
<li>  目次 </li>
<li>  機能内容 </li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (328d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#kc3ee6bc" title="kc3ee6bc"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--kc3ee6bc--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>Bshe_Mobile</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#n056fbab" title="n056fbab"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--n056fbab--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#oa7afead" title="oa7afead"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li>Bsheで携帯向けWebサイトを構築する機能を付与するクラス群</li></ul>
<!--oa7afead--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>目次  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#z2ae466d" title="z2ae466d"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li><span>Bshe_Mobile</span>
<ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile_Session" title="Bshe/manual/Bshe_Mobile_Session (344d)">Bshe_Mobile_Session</a></li></ul></li></ul>
<!--z2ae466d--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>機能内容  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Mobile#a954216e" title="a954216e"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li>Bshe_Viewと連携して、docomo携帯のみsession_idをGETまたはPOSTのパラメーターへセットします。</li>
<li>その他開発中</li></ul><!--a954216e--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Mobile</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Controller_Init">
 <title>Bshe/manual/Bshe_Controller_Init</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init</link>
 <dc:date>2009-01-27T00:52:30+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>
Bshe_Controller_Init  &amp;#182;
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_Controller_Init 
  概要 
  機能内容 
  アプリケーションのメインパス取得 
  アプリケーションのメインパス取得 
  アプリケーションのライブラリパス取得 
 
Bshe利用マニュアル  
Bshe_Controller_Init  
概要  
プログラムの各所で利用するパス情報などをスタティックに返す関数群
</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div>
<h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init" title="Bshe/manual/Bshe_Controller_Init (1m)">Bshe_Controller_Init</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#f38598e8" title="f38598e8"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3><!--f38598e8--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Controller_Init 
<ul><li>  概要 </li>
<li>  機能内容 
<ul><li>  アプリケーションのメインパス取得 </li>
<li>  アプリケーションのメインパス取得 </li>
<li>  アプリケーションのライブラリパス取得 </li></ul></li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (319d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#cf6dbee5" title="cf6dbee5"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--cf6dbee5--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>Bshe_Controller_Init</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#f38598e8" title="f38598e8"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--f38598e8--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#sa5331cd" title="sa5331cd"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li>プログラムの各所で利用するパス情報などをスタティックに返す関数群</li>
<li>この関数群は、tarボールを展開したフォルダ構成のまま利用するときのみ意味を持ちます。</li></ul>
<!--sa5331cd--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>機能内容  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#jb8da0e2" title="jb8da0e2"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<!--jb8da0e2--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>アプリケーションのメインパス取得  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#y63d9c81" title="y63d9c81"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>アプリケーションのメインパス（libraryパスのひとつ上）を返す。<br /></p>
<div><pre>Bshe_Controller_Init::getMainPath();</pre></div>
<p>文字列でメインパスをフルパスで返します。</p>
<!--y63d9c81--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>アプリケーションのメインパス取得  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#ia9a547b" title="ia9a547b"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>アプリケーションのURLルートを返す。<br /></p>
<div><pre>Bshe_Controller_Init::getUrlPath();</pre></div>
<p>文字列でメインパスをURLルートを返します。</p>
<!--ia9a547b--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>アプリケーションのライブラリパス取得  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Controller_Init#n68a865f" title="n68a865f"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h5>
<p>アプリケーションのライブラリパスを返す。<br /></p>
<div><pre>Bshe_Controller_Init::getLibraryPath();</pre></div>
<p>文字列でメインパスをライブラリパスを返します。</p><!--n68a865f--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Controller_Init</dc:identifier>

</item>
<item rdf:about="http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Loader">
 <title>Bshe/manual/Bshe_Loader</title>
 <link>http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader</link>
 <dc:date>2009-01-26T23:41:28+09:00</dc:date>
 <dc:creator>abe</dc:creator>
 
 <description>Bshe_Loader&amp;#182;
Bshe_Loader  &amp;#182;
 
  Table of contents
 
 
    Bshe利用マニュアル 
  Bshe_Loader 
  目次 
  概要 
  機能内容 
 
Bshe利用マニュアル  
Bshe_Loader  
目次  
Bshe_Loader
概要  
Zend_FrameworkのZend_Loaderはlibrary以下の各クラスファイルをクラス名から検索してくれる機能を提供してくれる、
これをapplicat</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><ul><li><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader" title="Bshe/manual/Bshe_Loader (0m)">Bshe_Loader</a></li></ul>&#182;<!--ADD_TEXT_SEP-->
<div>
<h3><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader" title="Bshe/manual/Bshe_Loader (41d)">Bshe_Loader</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#uca679f6" title="uca679f6"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3><!--uca679f6--></div></dd></dl><hr /><div>
<div>
 <div>
  Table of contents
 </div>
 <div>
  <ul><li>  Bshe利用マニュアル 
<ul><li>  Bshe_Loader 
<ul><li>  目次 </li>
<li>  概要 </li>
<li>  機能内容 </li></ul></li></ul></li></ul>
 </div>
</div>
<h2><a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual" title="Bshe/manual (59d)">Bshe利用マニュアル</a>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#x6a90431" title="x6a90431"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h2>
<!--x6a90431--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>Bshe_Loader</span>  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#uca679f6" title="uca679f6"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h3>
<!--uca679f6--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>目次  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#s343b587" title="s343b587"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<ul><li><span>Bshe_Loader</span></li></ul>
<!--s343b587--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>概要  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#f4313ca0" title="f4313ca0"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<p>Zend_FrameworkのZend_Loaderはlibrary以下の各クラスファイルをクラス名から検索してくれる機能を提供してくれる、<br />
これをapplicationのmodels以下のファイルについても同様に自動で読み込んでくれるように拡張したもの。</p>
<ul><li>application以下のmodelsクラスについても、Models_AAA_BBBの形式のクラスをapplication/models/AAA/BBB.phpと解釈して自動読み込みできるようにする。</li>
<li>module後とのmodel（application/module名/model）についても同様にModule名_Models_AAA_BBBクラスをapplication/module名/models/AAA/BBB.phpと解釈するようにする。</li>
<li>AAAやBBBの後ろにも_を間に挟むことでフォルダの階層構造に制限を設けない。</li></ul>
<!--f4313ca0--></div>
<div>
<div><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>機能内容  <a href="http://www.bshe.org/modules/xpwiki/index/Bshe/manual/Bshe_Loader#y2233b70" title="y2233b70"><img src="http://www.bshe.org/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a></h4>
<div><pre>Bshe_Loader::setApplicationDir( '/path/to/application');　←１
Zend_Loader::registerAutoload('Bshe_Loader');　←２</pre></div>
<p>１．'/path/to/application'のところに、applicationディレクトリのpathを設定<br />
２．Zend_Loaderのautoloaderの設定メソッドを使って登録する。</p><!--y2233b70--></div>


 ]]></content:encoded>
 <dc:identifier>http://www.bshe.org/modules/xpwiki/index.php?Bshe%2Fmanual%2FBshe_Loader</dc:identifier>

</item>

</rdf:RDF>
