Model/Connector/Order.php
public function _getStreet($street, $line)
    {
        $street = explode("\n", $street);
        if ($line == 1) {
            return $street[0];
        }
        if (isset($street[$line - 1])) {
            return $street[$line - 1];
        } else {
            return '';
        }
    }
public function _getStreet($street, $line)
    {
        $street = explode("\n", $street);
        if ($line == 1) {
            return $street[0];
        }
        if (isset($street[$line - 1])) {
            return $street[$line - 1];
        } else {
            return '';
        }
    }
public function _getStreet ( $ street , $ line ) { $ street = explode ( "\n" , $ street ) ; if ( $ line == 1 ) { return $ street [ 0 ] ; } if ( isset ( $ street [ $ line - 1 ] ) ) { return $ street [ $ line - 1 ] ; } else { return '' ; } }
Get the street name by line number.

@param string $street
@param int $line

@return string
Get the street name by line number .