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 | my php.net 
search for in the  
<hw_New_Documenthw_Output_Document" width="11" height="7"/>
view the version of this page
Last updated: Sat, 06 May 2006

hw_objrec2array

(PHP 3 >= 3.0.3, PHP 4, PECL)

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.

<hw_New_Documenthw_Output_Document" width="11" height="7"/>
 Last updated: Sat, 06 May 2006
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2006 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Wed Sep 6 17:23:20 2006 JST