protected function updateCollectionItem($collection_item_id)
    {
        if (!$this->isError() && !$this->collection_item->update($collection_item_id, $this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function updateCollectionItem($collection_item_id)
    {
        if (!$this->isError() && !$this->collection_item->update($collection_item_id, $this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function updateCollectionItem ( $ collection_item_id ) { if ( ! $ this -> isError ( ) && ! $ this -> collection_item -> update ( $ collection_item_id , $ this -> getSubmitted ( ) ) ) { $ this -> errorAndExit ( $ this -> text ( 'Unexpected result' ) ) ; } }
Updates a collection item
@param string $collection_item_id
Updates a collection item