
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
共通標準・予約値の導入に関する規定とその設定要領 |
各アプリケーションで独自に敷設しているアプリケーションの初期値について、共通の設計を行っておき、導入に関する作業の一部簡略化と、共通規定の設定による統一作業が進められるように整備を進めます。
---
ASf global classのlfsettingsをextendsしたclass内部で呼び出す。$this->init_basic_in();のような記述を行いますが、これは、多くの場合、settingsブロックで行います。呼び出しタイミングまでに、設定判断用のデータを用意する必要があります。「外部入力値が未設定の場合に利用する標準値」を参照してください。
class class_name extends lfSettings...
$this->init_basic_in();
---
# 外部入力値
$this->g_id #
$this->g_page #
$this->g_sort # (asc,desc)
$this->g_order # (id,date,title,nameなど)
$this->g_category #
$this->g_keyword #
$this->g_mode # 動作モード
$this->g_code # 絞り込みオプション(CMS未使用時)
---
# 外部入力値が未設定の場合に利用する標準値
$this->init_mode
$this->init_code
$this->init_keyword
$this->init_sort
$this->init_order
$this->init_page
$this->init_category
$this->init_id
上記において設定が不可能な値、$lfSmCatalog->action("shop_code=$SHOP_CODE style=special");のように、一度に指定が不可能なものは、別途あらかじめ指定をしておきます。別途指定する方法は、上のようなコードよりも以前に、設定コードを指定することです。
# 設定例
$lfSmCatalog->init_name = "test";
echo $lfSmCatalog->action("shop_code=$SHOP_CODE style=special");
---
# CMS共通コード
$this->shop_code
---
# CMS設定
$this->shop_state
$this->code
$this->init_cs_backoffice
$this->init_item
$this->init_item_category
$this->init_item_maker
$this->init_item_img
$this->init_cart
$this->init_docs
$this->init_docs_category
$this->init_dir
$this->init_dir_category
$this->init_form
$this->init_contents
$this->init_news
$this->init_period_new
$this->init_owner
$this->init_msg
|
| 文書番号 |
01054 |
| 日付 |
2004.05.27 |
| 参照数 |
362 |
|