src/PelIfd.php
public function getSubIfd($type)
    {
        if (isset($this->sub[$type])) {
            return $this->sub[$type];
        } else {
            return null;
        }
    }
public function getSubIfd($type)
    {
        if (isset($this->sub[$type])) {
            return $this->sub[$type];
        } else {
            return null;
        }
    }
public function getSubIfd ( $ type ) { if ( isset ( $ this -> sub [ $ type ] ) ) { return $ this -> sub [ $ type ] ; } else { return null ; } }
Return a sub IFD.

@param int $type
the type of the sub IFD. This must be one of {@link
PelIfd::EXIF}, {@link PelIfd::GPS}, or {@link
PelIfd::INTEROPERABILITY}.

@return PelIfd the IFD associated with the type, or null if that
sub IFD does not exist.
Return a sub IFD .