source/Application/Model/File.php
public function getLinkExpirationTime()
    {
        $iExpTime = $this->oxfiles__oxlinkexptime->value;
        //if value is -1, takes global options
        if ($iExpTime < 0) {
            $iExpTime = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("iLinkExpirationTime");
        }

        return $iExpTime;
    }
public function getLinkExpirationTime()
    {
        $iExpTime = $this->oxfiles__oxlinkexptime->value;
        //if value is -1, takes global options
        if ($iExpTime < 0) {
            $iExpTime = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("iLinkExpirationTime");
        }

        return $iExpTime;
    }
public function getLinkExpirationTime ( ) { $ iExpTime = $ this -> oxfiles__oxlinkexptime -> value ; //if value is -1, takes global options if ( $ iExpTime < 0 ) { $ iExpTime = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( "iLinkExpirationTime" ) ; } return $ iExpTime ; }
Returns ordered file link expiration time in hours

@return int
Returns ordered file link expiration time in hours