public function getIndex($index)
    {
        if (is_string($index) &&
            is_array($this->secondary_indexes) &&
            array_key_exists($index, $this->secondary_indexes)
        ) {
            return $this->secondary_indexes[$index];
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_INVALID_INDEX, array(print_r($index, true)));
        }
    }
public function getIndex($index)
    {
        if (is_string($index) &&
            is_array($this->secondary_indexes) &&
            array_key_exists($index, $this->secondary_indexes)
        ) {
            return $this->secondary_indexes[$index];
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_INVALID_INDEX, array(print_r($index, true)));
        }
    }
public function getIndex ( $ index ) { if ( is_string ( $ index ) && is_array ( $ this -> secondary_indexes ) && array_key_exists ( $ index , $ this -> secondary_indexes ) ) { return $ this -> secondary_indexes [ $ index ] ; } else { throw new ENabuCoreException ( ENabuCoreException :: ERROR_INVALID_INDEX , array ( print_r ( $ index , true ) ) ) ; } }
Gets a index instance of this list.
@param string $index Index indentifier to looking for.
@return CNabuDataObjectListIndex Returns the selected index if exists or null if not.
@throws ENabuCoreException Raises an exception if $index is not valid.
Gets a index instance of this list .