PEAR Manual
Prev |  | Next

# Config_Container::getItemPosition()

Config_Container::getItemPosition() -- Return item rank in its parent children array

## Synopsis

    require_once 'Config/Container.php';

``int Config_Container::getItemPosition` (void)`

## Description

Returns the item rank in its parent children array according to other items with same type and name.

## Return value

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

## Note

This function can not be called statically.

Prev | Home | Next
Config_Container::getItemIndex() | Up | Config_Container::getName()