Demo entry 6362466

routing

   

Submitted by anonymous on May 09, 2017 at 04:32
Language: PHP. Code size: 266 Bytes.

	$routes->connect('/', ['controller' => 'Test', 'action' => 'menu']);

	$routes->connect(
		'/:area/:items/list/*'
		,[
			'controller' => 'Test'
			,'action' => 'display'
		]
		,[
			'area'=>'kansai|chugoku\-shikoku'
			,'items'=>'shops|girls'
		]
	);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).