lib/bagit.php
public function getBagInfoData($key)
    {
        $this->_ensureBagInfoData();
        return array_key_exists($key, $this->bagInfoData) ? $this->bagInfoData[$key] : null;
    }
public function getBagInfoData($key)
    {
        $this->_ensureBagInfoData();
        return array_key_exists($key, $this->bagInfoData) ? $this->bagInfoData[$key] : null;
    }
public function getBagInfoData ( $ key ) { $ this -> _ensureBagInfoData ( ) ; return array_key_exists ( $ key , $ this -> bagInfoData ) ? $ this -> bagInfoData [ $ key ] : null ; }
This returns the value for a key from bagInfoData.

@param string $key This is the key to get the value associated with.

@return string|null
@author Eric Rochester <erochest@virginia.edu>
This returns the value for a key from bagInfoData .