function getIndicator($ind)
    {
        if ($ind == 1) {
            return (string)$this->ind1;
        } elseif ($ind == 2) {
            return (string)$this->ind2;
        } else {
             $errorMessage = File_MARC_Exception::formatError(File_MARC_Exception::$messages[File_MARC_Exception::ERROR_INVALID_INDICATOR_REQUEST], array("indicator" => $indicator));
             throw new File_MARC_Exception($errorMessage, File_MARC_Exception::ERROR_INVALID_INDICATOR_REQUEST);
        }
        return false;
    }
function getIndicator($ind)
    {
        if ($ind == 1) {
            return (string)$this->ind1;
        } elseif ($ind == 2) {
            return (string)$this->ind2;
        } else {
             $errorMessage = File_MARC_Exception::formatError(File_MARC_Exception::$messages[File_MARC_Exception::ERROR_INVALID_INDICATOR_REQUEST], array("indicator" => $indicator));
             throw new File_MARC_Exception($errorMessage, File_MARC_Exception::ERROR_INVALID_INDICATOR_REQUEST);
        }
        return false;
    }
function getIndicator ( $ ind ) { if ( $ ind == 1 ) { return ( string ) $ this -> ind1 ; } elseif ( $ ind == 2 ) { return ( string ) $ this -> ind2 ; } else { $ errorMessage = File_MARC_Exception :: formatError ( File_MARC_Exception :: $ messages [ File_MARC_Exception :: ERROR_INVALID_INDICATOR_REQUEST ] , array ( "indicator" => $ indicator ) ) ; throw new File_MARC_Exception ( $ errorMessage , File_MARC_Exception :: ERROR_INVALID_INDICATOR_REQUEST ) ; } return false ; }
Get the value of an indicator

@param int $ind number of the indicator (1 or 2)

@return string returns indicator value if it exists, otherwise false
Get the value of an indicator