Changeset 21301 for branches/version-2_11-dev/data/class/SC_View.php
- Timestamp:
- 2011/10/28 17:50:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/SC_View.php
r20764 r21301 118 118 } 119 119 120 121 120 // オブジェクト内の変数をすべて割り当てる。 121 function assignobj($obj) { 122 122 $data = get_object_vars($obj); 123 123 … … 125 125 $this->_smarty->assign($key, $value); 126 126 } 127 127 } 128 128 129 130 131 132 133 134 129 // 連想配列内の変数をすべて割り当てる。 130 function assignarray($array) { 131 foreach ($array as $key => $val) { 132 $this->_smarty->assign($key, $val); 133 } 134 } 135 135 136 136 /* サイト初期設定 */
Note: See TracChangeset
for help on using the changeset viewer.