previousNet_URL のインスタンスの作成 (Previous) (Next) Net_Whoisnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_URL::setOption

Net_URL::setOption – Net_URL のオプションの設定

Synopsis

require_once 'Net/URL.php';

string setOption ( string $optionName , string $value )

Description

Net_URL のオプションを設定します。

Parameter

オプションの一覧
名前 説明
encode_query_keys true にすると、クエリのキーをエンコードします。デフォルトは false です。

  • string $optionName - 設定するオプションの名前。

  • string $value - オプションに設定する値。

Example

Net_URL の使用例

<?php
require_once 'Net/URL.php';
$url = new Net_URL;
$url->setOption('encode_query_keys'true);
print_r($url->querystring);
?>
previousNet_URL のインスタンスの作成 (Previous) (Next) Net_Whoisnext

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.