public function setString($parameterIndex, $string)
    {
        if (!is_string($string)) {
            throw new CmisInvalidArgumentException('Parameter string must be of type string!');
        }

        $this->setParameter($parameterIndex, $this->escape($string));
    }
public function setString($parameterIndex, $string)
    {
        if (!is_string($string)) {
            throw new CmisInvalidArgumentException('Parameter string must be of type string!');
        }

        $this->setParameter($parameterIndex, $this->escape($string));
    }
public function setString ( $ parameterIndex , $ string ) { if ( ! is_string ( $ string ) ) { throw new CmisInvalidArgumentException ( 'Parameter string must be of type string!' ) ; } $ this -> setParameter ( $ parameterIndex , $ this -> escape ( $ string ) ) ; }
Sets the designated parameter to the given string.

@param integer $parameterIndex the parameter index (one-based)
@param string $string the string
@throws CmisInvalidArgumentException If given value is not a string
Sets the designated parameter to the given string .