PEAR_ChannelFile::fromArray()
PEAR_ChannelFile::fromArray()
-- fromArray
概要
require_once '/ChannelFile.php'; |
PEAR_ChannelFile
|false
PEAR_ChannelFile::fromArray
(array
$data, mixed
[$compatibility = FALSE], mixed
[$stackClass = 'PEAR_ErrorStack'])
説明
Use this method with caution. This is intended to allow easy import of
a pre-parsed channel.xml from another PEAR_ChannelFile class. It also makes
possible the registry storage of channel.xml.
パラメータ
- array
$data
The pre-parsed channel data
返り値
returns
false if invalid
例外・エラー
throws
no exceptions thrown