PEAR Manual
Prev |  | Next

# Config_Container::getItemIndex()

Config_Container::getItemIndex() -- Return item index in its parent children array

## Synopsis

    require_once 'Config/Container.php';

``mixed Config_Container::getItemIndex` (void)`

## Description

Children Config_Container objects are stored in an array. This method will return the index of this item in its parent array.

## Return value

`mixed` - returns int or `NULL` if root object

## Note

This function can not be called statically.

Prev | Home | Next
Config_Container::getItem() | Up | Config_Container::getItemPosition()