lib/bagit.php
public function setBagInfoData($key, $value)
    {
        $this->_ensureBagInfoData();
        $this->bagInfoData[$key] = BagIt_getAccumulatedValue(
            $this->bagInfoData, $key, $value
        );
    }
public function setBagInfoData($key, $value)
    {
        $this->_ensureBagInfoData();
        $this->bagInfoData[$key] = BagIt_getAccumulatedValue(
            $this->bagInfoData, $key, $value
        );
    }
public function setBagInfoData ( $ key , $ value ) { $ this -> _ensureBagInfoData ( ) ; $ this -> bagInfoData [ $ key ] = BagIt_getAccumulatedValue ( $ this -> bagInfoData , $ key , $ value ) ; }
This inserts a value into bagInfoData.

@param string $key   This is the key to insert into the data.
@param string $value This is the value to associate with the key.

@return void
@author Eric Rochester <erochest@virginia.edu>
This inserts a value into bagInfoData .