- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php
r22570 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Entry_Kiyaku extends LC_Page_Ex 35 { 34 class LC_Page_Entry_Kiyaku extends LC_Page_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 $this->tpl_title = 'ご利用規約'; … … 54 52 * @return void 55 53 */ 56 function process() 57 { 54 function process() { 58 55 parent::process(); 59 56 $this->action(); … … 66 63 * @return void 67 64 */ 68 function action() 69 { 65 function action() { 70 66 71 67 $arrKiyaku = $this->lfGetKiyakuData(); … … 87 83 * @return void 88 84 */ 89 function destroy() 90 { 85 function destroy() { 91 86 parent::destroy(); 92 87 } … … 101 96 * @return string 規約の内容をテキストエリアで表示するように整形したデータ 102 97 */ 103 function lfMakeKiyakuText($arrKiyaku, $max, $offset) 104 { 98 function lfMakeKiyakuText($arrKiyaku, $max, $offset) { 105 99 $this->tpl_kiyaku_text = ''; 106 100 for ($i = 0; $i < $max; $i++) { … … 118 112 * @return array $arrKiyaku 規約の配列 119 113 */ 120 function lfGetKiyakuData() 121 { 122 $objKiyaku = new SC_Helper_Kiyaku_Ex(); 123 $arrKiyaku = $objKiyaku->getList(); 114 function lfGetKiyakuData() { 115 116 $objQuery = SC_Query_Ex::getSingletonInstance(); 117 118 $objQuery->setOrder('rank DESC'); 119 $arrKiyaku = $objQuery->select('kiyaku_title, kiyaku_text', 'dtb_kiyaku', 'del_flg <> 1'); 124 120 125 121 return $arrKiyaku; … … 134 130 * @return int 135 131 */ 136 function lfSetOffset($offset) 137 { 132 function lfSetOffset($offset) { 138 133 return is_numeric($offset) === true ? intval($offset) : 1; 139 134 }
Note: See TracChangeset
for help on using the changeset viewer.