public function insertExistingField(Content $content, Field $field, StorageFieldValue $value)
    {
        $q = $this->dbHandler->createInsertQuery();

        $this->setInsertFieldValues($q, $content, $field, $value);

        $q->set(
            $this->dbHandler->quoteColumn('id'),
            $q->bindValue($field->id, null, \PDO::PARAM_INT)
        );

        $q->prepare()->execute();
    }
public function insertExistingField(Content $content, Field $field, StorageFieldValue $value)
    {
        $q = $this->dbHandler->createInsertQuery();

        $this->setInsertFieldValues($q, $content, $field, $value);

        $q->set(
            $this->dbHandler->quoteColumn('id'),
            $q->bindValue($field->id, null, \PDO::PARAM_INT)
        );

        $q->prepare()->execute();
    }
public function insertExistingField ( Content $ content , Field $ field , StorageFieldValue $ value ) { $ q = $ this -> dbHandler -> createInsertQuery ( ) ; $ this -> setInsertFieldValues ( $ q , $ content , $ field , $ value ) ; $ q -> set ( $ this -> dbHandler -> quoteColumn ( 'id' ) , $ q -> bindValue ( $ field -> id , null , \ PDO :: PARAM_INT ) ) ; $ q -> prepare ( ) -> execute ( ) ; }
Inserts an existing field.

Used to insert a field with an exsting ID but a new version number.

@param Content $content
@param Field $field
@param StorageFieldValue $value
Inserts an existing field .