public function setProperty($parameterIndex, PropertyDefinitionInterface $propertyDefinition)
    {
        $queryName = $propertyDefinition->getQueryName();
        if (empty($queryName)) {
            throw new CmisInvalidArgumentException('Property has no query name!');
        }

        $this->setParameter($parameterIndex, $this->escape($queryName));
    }
public function setProperty($parameterIndex, PropertyDefinitionInterface $propertyDefinition)
    {
        $queryName = $propertyDefinition->getQueryName();
        if (empty($queryName)) {
            throw new CmisInvalidArgumentException('Property has no query name!');
        }

        $this->setParameter($parameterIndex, $this->escape($queryName));
    }
public function setProperty ( $ parameterIndex , PropertyDefinitionInterface $ propertyDefinition ) { $ queryName = $ propertyDefinition -> getQueryName ( ) ; if ( empty ( $ queryName ) ) { throw new CmisInvalidArgumentException ( 'Property has no query name!' ) ; } $ this -> setParameter ( $ parameterIndex , $ this -> escape ( $ queryName ) ) ; }
Sets the designated parameter to the query name of the given property.

@param integer $parameterIndex the parameter index (one-based)
@param PropertyDefinitionInterface $propertyDefinition
@throws CmisInvalidArgumentException If property has no query name
Sets the designated parameter to the query name of the given property .