Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: hw_objrec2array - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hw_Output_Document" width="11" height="7"/> <hw_New_Document
Last updated: Sun, 23 Sep 2007

view this page in

hw_objrec2array

(PHP 4)

hw_objrec2array — 属性をオブジェクトレコードからオブジェクト配列に変換する

説明

array hw_objrec2array ( string $object_record [, array $ format ] )

object_record をオブジェクト配列に変換します。 結果の配列のキーは属性の名前です。'Title' のように 異なった言語で多重定義を行う属性は、それ自体で配列となります。 この配列のキーは、属性の値のコロンの左の部分にあります。 現在、'Title', 'Description', 'Keyword' のみが適正に処理されます。 他の多値属性は、添字配列となります。この左側の部分は、2 文字分の長さと する必要があります。接頭辞のない他の多値属性は添字配列となり、 オプションのパラメータに属性 'Title'が指定されない場合、' Description'と'Keyword'は、言語属性として処理され、属性 'Group'、'Parent'、'HtmlAttr'は接頭辞のない多値属性として処理され ます。各属性の型を有する配列を指定することにより、この動作を変更 することが可能です。配列は、属性名をキーとする連想配列であり、 その値は、HW_ATTR_LANG または HW_ATTR_NONEのどちらかとなります。

hw_array2objrec() も参照ください。



add a note add a note User Contributed Notes
hw_objrec2array
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites