private function GetArrayIndexedValueOrDefault($array, $key, $index, $default = null) {
        $value = $default;

        try {
            $value = $this->GetArrayValueOrDefault($array, $key, $default);
            if ( (isset($value)) && ($value !== $default) ) {
                $value = $value[$index];
            }
        }
        catch( Exception $ex) {
            $value = $default;
        }

        return $value;
    }
private function GetArrayIndexedValueOrDefault($array, $key, $index, $default = null) {
        $value = $default;

        try {
            $value = $this->GetArrayValueOrDefault($array, $key, $default);
            if ( (isset($value)) && ($value !== $default) ) {
                $value = $value[$index];
            }
        }
        catch( Exception $ex) {
            $value = $default;
        }

        return $value;
    }
private function GetArrayIndexedValueOrDefault ( $ array , $ key , $ index , $ default = null ) { $ value = $ default ; try { $ value = $ this -> GetArrayValueOrDefault ( $ array , $ key , $ default ) ; if ( ( isset ( $ value ) ) && ( $ value !== $ default ) ) { $ value = $ value [ $ index ] ; } } catch ( Exception $ ex ) { $ value = $ default ; } return $ value ; }
Returns the value of a key at an index in a multi-dimensional array, or
if not found, returns the default provided.

@param $array         The array to return the value from.
@param $key           The key to lookup.
@param $index         The index of the value to return.
@param null $default  The default value to return if the key does not exist.
@return               The value requested or the default provided.
Returns the value of a key at an index in a multi - dimensional array or if not found returns the default provided .