public function getSolrPort($defaultIfEmpty = 8983, $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.port';
        $fallbackPath = 'plugin.tx_solr.solr.port';

        return (int)$this->getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap($scopePath, $fallbackPath, $defaultIfEmpty);
    }
public function getSolrPort($defaultIfEmpty = 8983, $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.port';
        $fallbackPath = 'plugin.tx_solr.solr.port';

        return (int)$this->getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap($scopePath, $fallbackPath, $defaultIfEmpty);
    }
public function getSolrPort ( $ defaultIfEmpty = 8983 , $ scope = 'read' ) { $ scopePath = 'plugin.tx_solr.solr.' . $ scope . '.port' ; $ fallbackPath = 'plugin.tx_solr.solr.port' ; return ( int ) $ this -> getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap ( $ scopePath , $ fallbackPath , $ defaultIfEmpty ) ; }
Returns the port used for requests to the Solr server

plugin.tx_solr.solr.port

Applies stdWrap on the configured setting

@param int $defaultIfEmpty
@param string $scope read or write, read by default
@return int
Returns the port used for requests to the Solr server