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

search for in the

OCI-Collection->max> <OCI-Collection->free
Last updated: Fri, 13 Nov 2009

view this page in

OCI-Collection->getElem

(PHP 5, PECL OCI8 >= 1.1.0)

OCI-Collection->getElem要素の値を返す

説明

OCI-Collection
mixed getElem ( int $index )

インデックス index (1 から始まる) を持つ要素の値を返します。

パラメータ

index

要素のインデックス。最初のインデックスは 1 です。

返り値

もし要素が存在しない場合 FALSE 、要素が NULL 文字列なら NULL 、要素が文字データ型なら文字列、 要素が数値フィールドなら数値を返します。



add a note add a note User Contributed Notes
OCI-Collection->getElem
Anonymous
12-Jun-2008 04:47
I disagree, the first element is 0 ie ..->getElem(0)

OCI-Collection->max> <OCI-Collection->free
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites