Changeset 17584
- Timestamp:
- 2008/08/29 18:27:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_PageLayout.php
r17574 r17584 121 121 * @return array ページ情報を格納した配列 122 122 */ 123 function lfgetPageData($where , $where_vals=array()) {124 $objQuery = new SC_Query; 123 function lfgetPageData($where = '', $where_vals = array()) { 124 $objQuery = new SC_Query; // DB操作オブジェクト 125 125 $arrRet = array(); // データ取得用 126 126 127 127 // 取得するカラム 128 $col = " page_id"; 129 $col .= " ,page_name"; 130 $col .= " ,url"; 131 $col .= " ,php_dir"; 132 $col .= " ,tpl_dir"; 133 $col .= " ,filename"; 134 $col .= " ,header_chk "; 135 $col .= " ,footer_chk "; 136 $col .= " ,edit_flg "; 137 $col .= " ,author"; 138 $col .= " ,description"; 139 $col .= " ,keyword"; 140 $col .= " ,update_url"; 141 $col .= " ,create_date"; 142 $col .= " ,update_date"; 128 $col = " page_id"; // ページID 129 $col .= " ,page_name"; // 名称 130 $col .= " ,url"; // URL 131 $col .= " ,php_dir"; // php保存先ディレクトリ 132 $col .= " ,tpl_dir"; // tpl保存先ディレクトリ 133 $col .= " ,filename"; // ファイル名称 134 $col .= " ,header_chk "; // ヘッダー使用FLG 135 $col .= " ,footer_chk "; // フッター使用FLG 136 $col .= " ,edit_flg "; // 編集可能FLG 137 $col .= " ,author"; // authorタグ 138 $col .= " ,description"; // descriptionタグ 139 $col .= " ,keyword"; // keywordタグ 140 $col .= " ,update_url"; // 更新URL 141 $col .= " ,create_date"; // データ作成日 142 $col .= " ,update_date"; // データ更新日 143 143 144 144 // 取得するテーブル 145 145 $table = "dtb_pagelayout"; 146 147 146 148 147 // 並び変え
Note: See TracChangeset
for help on using the changeset viewer.