lib/bagit.php
function getBagInfo()
    {
        $major = $this->bagVersion['major'];
        $minor = $this->bagVersion['minor'];

        $info = array(
            'version'  => "$major.$minor",
            'encoding' => $this->tagFileEncoding,
            'hash'     => $this->getHashEncoding()
        );
        return $info;
    }
function getBagInfo()
    {
        $major = $this->bagVersion['major'];
        $minor = $this->bagVersion['minor'];

        $info = array(
            'version'  => "$major.$minor",
            'encoding' => $this->tagFileEncoding,
            'hash'     => $this->getHashEncoding()
        );
        return $info;
    }
function getBagInfo ( ) { $ major = $ this -> bagVersion [ 'major' ] ; $ minor = $ this -> bagVersion [ 'minor' ] ; $ info = array ( 'version' => "$major.$minor" , 'encoding' => $ this -> tagFileEncoding , 'hash' => $ this -> getHashEncoding ( ) ) ; return $ info ; }
Return the info keys

@return array A dictionary array containing these keys: 'version',
'encoding', 'hash'.
Return the info keys