OCICollection
class OCICollection (View source)
OCI8 Collection functionality.
Methods
(PHP 5, PECL OCI8 >= 1.1.0)
Appends element to the collection
(PHP 5, PECL OCI8 >= 1.1.0)
Returns value of the element
(PHP 5, PECL OCI8 >= 1.1.0)
Assigns a value to the element of the collection
(PHP 5, PECL OCI8 >= 1.1.0)
Assigns a value to the collection from another existing collection
(PHP 5, PECL OCI8 >= 1.1.0)
Returns size of the collection
(PHP 5, PECL OCI8 >= 1.1.0)
Returns the maximum number of elements in the collection
(PHP 5, PECL OCI8 >= 1.1.0)
Trims elements from the end of the collection
(PHP 5, PECL OCI8 >= 1.1.0)
Frees the resources associated with the collection object
Details
bool
append(mixed $value)
(PHP 5, PECL OCI8 >= 1.1.0)
Appends element to the collection
mixed
getelem(int $index)
(PHP 5, PECL OCI8 >= 1.1.0)
Returns value of the element
bool
assignelem(int $index, mixed $value)
(PHP 5, PECL OCI8 >= 1.1.0)
Assigns a value to the element of the collection
bool
assign(OCICollection $from)
(PHP 5, PECL OCI8 >= 1.1.0)
Assigns a value to the collection from another existing collection
int|false
size()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns size of the collection
int|false
max()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns the maximum number of elements in the collection
bool
trim(int $num)
(PHP 5, PECL OCI8 >= 1.1.0)
Trims elements from the end of the collection
bool
free()
(PHP 5, PECL OCI8 >= 1.1.0)
Frees the resources associated with the collection object