XML_Unserializer::unserialize

XML_Unserializer::unserialize() – データをアンシリアライズする

Synopsis

require_once 'Unserializer.php';

boolean XML_Unserializer::unserialize ( string $data , boolean $isFile = = false , array $options = = null )

Description

文字列もしくはファイルからの XML 文章をアンシリアライズします。

文章をアンシリアライズする方法は、コンストラクタや setOptions() でセットされたオプションに影響されます。

Parameter

  • string $data - XML 文章のファイル名、もしくは XML 文章を含む文字列を指定します。

  • boolean $isFile - 最初のパラメータがファイル名 (TRUE) もしくは XML 文字列 (FALSE) かを指定します。

  • array $options - 以前にセットされたオプションを上書きするためのオプションを指定します。 このオプションは、このアンシリアライズ化のためのみに使用され、 以前にセットしたオプションをリセットします。

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

API のバージョンを返す (Previous) アンシリアライズした結果を取得する (Next)
Last updated: Fri, 25 May 2012 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.