| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
FeaturesNet_URL_Mapper can handle different types of mapping: In the following examples we assume that URLs are mapped to a desginated controller and an action. But the controller and action keys provided could be called anything and are not mandatory. Static path partsThe following code snippet maps the URL /home:
<?php Dynamic path partsThe following code snippet maps a URL such as /news/1, /news/2 to a designated controller and action.
<?php Wildcard path partsThe following code snippet maps all URLs with /content to a controller called content and an action called display. Optionally, we'll determine the section on the page using a wildcard. The default for section is #toc (Table Of Contents).
<?php |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Features」をGoogle検索
|