โค้ด: เลือกทั้งหมด
test_m_json_recent_topics_controller:
path: /json_recent_topics.php
defaults: { _controller: test.m_json_recent_topics.controller.json_recent_topics:base}
Moderator: mindphp, ผู้ดูแลกระดาน
โค้ด: เลือกทั้งหมด
test_m_json_recent_topics_controller:
path: /json_recent_topics.php
defaults: { _controller: test.m_json_recent_topics.controller.json_recent_topics:base}
โค้ด: เลือกทั้งหมด
acme_demo_route:
path: /demo/{action}
defaults: { _controller: acme.demo.controller:handle, action: "world" }
โค้ด: เลือกทั้งหมด
public fucntion handle($action){
...
}
โค้ด: เลือกทั้งหมด
$this->template->assign_vars([
'U_DEMO_PAGE' => $this->helper->route('acme_demo_route', ['action' => 'world']),
]);
โค้ด: เลือกทั้งหมด
./app.php/demo/world
โค้ด: เลือกทั้งหมด
test_m_json_recent_topics_controller:
path: /json_recent_topics/{f}/{start}
defaults: { _controller: test.m_json_recent_topics.controller.json_recent_topics:base, f: 0, start: 0}
requirements:
f: \d+(,\d+)*|
start: \d+
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 124