| Revision 18993,
889 bytes
checked in by miningbrownie, 16 years ago
(diff) |
|
commit by watch
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | class SC_Display{ |
|---|
| 3 | |
|---|
| 4 | var $response; |
|---|
| 5 | |
|---|
| 6 | function SC_Display(){ |
|---|
| 7 | require_once(CLASS_EX_PATH."/SC_Response_Ex.php"); |
|---|
| 8 | $this->response = new SC_Response_Ex(); |
|---|
| 9 | } |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | // TODO このメソッドは、レスポンスを返すためのメソッドです。名前を絶対に変えましょう。 |
|---|
| 13 | /** |
|---|
| 14 | * |
|---|
| 15 | * @param $page LC_Page |
|---|
| 16 | */ |
|---|
| 17 | function hoge(LC_Page $page){ |
|---|
| 18 | $this->assign($page); |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | /** |
|---|
| 24 | * 機種を判別する。 |
|---|
| 25 | * SC_Display::MOBILE = ガラケー = 1 |
|---|
| 26 | * SC_Display::SMARTPOHNE = スマホ = 2 |
|---|
| 27 | * SC_Display::PC = PC = 4 |
|---|
| 28 | * ※PHP4の為にconstは使っていません。 1がガラケーで、2がスマホで4がPCです。 |
|---|
| 29 | * @return |
|---|
| 30 | */ |
|---|
| 31 | function detectAgent(){ |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | function assign(LC_Page $page){ |
|---|
| 38 | |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.