public function offsetExists($name)
    {
        if (is_int($name)) {
            return parent::offsetExists($name);
        }

        $name = strtoupper($name);

        foreach ($this->parameters as $parameter) {
            if ($parameter->name == $name) {
                return true;
            }
        }

        return false;
    }
public function offsetExists($name)
    {
        if (is_int($name)) {
            return parent::offsetExists($name);
        }

        $name = strtoupper($name);

        foreach ($this->parameters as $parameter) {
            if ($parameter->name == $name) {
                return true;
            }
        }

        return false;
    }
public function offsetExists ( $ name ) { if ( is_int ( $ name ) ) { return parent :: offsetExists ( $ name ) ; } $ name = strtoupper ( $ name ) ; foreach ( $ this -> parameters as $ parameter ) { if ( $ parameter -> name == $ name ) { return true ; } } return false ; }
Checks if an array element exists.

@param mixed $name

@return bool
Checks if an array element exists .