Returns long description for saved license value.

@since 5.3.0

@param string

@return string
339847
public function getNameForLicense( $license ) {
		$types = $this->getSupportedTypes();

		if ( $this->isSupportedType( $license ) ) {
			if ( isset( $types[ $license ]['longdesc'] ) ) {
				return $types[ $license ]['longdesc'];
			} else {
				return $types[ $license ]['desc'];
			}
		} else {
			return $types['all-rights-reserved']['desc'];
		}
	}
388495
public function getDescription(): string
    {
        if (!$this->minValue) {
            return __('must have a length lower than "%d"', $this->maxValue);
        }
        if (!$this->maxValue) {
            return __('must have a length greater than "%d"', $this->minValue);
        }
        if ($this->minValue === $this->maxValue) {
            return __('must have a length "%d"', $this->minValue);
        }
        return __('must have a length between "%d" and "%d"', $this->minValue, $this->maxValue);
    }
168545
@Restricted(NoExternalUse.class)
    public final String getLongDescription() {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        PrintStream ps = new PrintStream(out);

        printUsageSummary(ps);
        ps.close();
        return out.toString();
    }
119760
public function description(): string
    {
        if (0 === $this->offset) {
            return 'limited to ' . $this->count . ' elements';
        }

        if (-1 === $this->count) {
            return 'skipped until offset ' . $this->offset;
        }

        return 'limited to ' . $this->count
         . ' elements starting from offset ' . $this->offset;
    }
702995
def get_long_description():
    
    with codecs.open(os.path.join(here, "README.rst"), "r", "utf-8") as f:
        return f.read()
1282263
public function setLongDescription($description)
    {
        $description = trim($description);
        if ($description === '') {
            $this->longDescription = null;
        } else {
            $this->longDescription = $description;
        }

        return $this;
    }
1342042
public function getDescription() : ?string 
    {
        if ( ! $this->hasDescription()) {
            $this->setDescription($this->getDefaultDescription());
        }
        return $this->description;
    }
845251
public function _longVersion() {
        $logo = file_get_contents(__DIR__.DS.'html'.DS.'logo.tpl');
        if ($this->name && $this->version) {
            return $logo.sprintf('<info>%s</info> version <comment>%s</comment>', $this->name, $this->version);
        }
        return $logo.'<info>Console Tool</info>';
    }
324692
def get_long_description():
    """"""
    base = os.path.abspath(os.path.dirname(__file__))
    readme_file = os.path.join(base, 'README.md')
    with open(readme_file, mode='rt', encoding='utf-8') as readme:
        return readme.read()
395400
private function getLicenseAsComment()
    {
        $license = explode(PHP_EOL, $this->licenseHeader);

        // if there are a bunch of new lines at the end of the license file
        // then we want to remove these
        while (end($license) === '') {
            array_pop($license);
        }
        reset($license);

        $license = array_map(function ($licenseLine) {
            return rtrim(' * ' . $licenseLine);
        }, $license);

        $license = implode(PHP_EOL, $license);
        $license = '/*' . PHP_EOL . $license . PHP_EOL . ' */';

        return $license;
    }
69583
public function toString($long = false)
    {
        if ($long) {
            $result = $this->longAddress;
        } else {
            if ($this->shortAddress === null) {
                if (strpos($this->longAddress, '0000:0000:0000:0000:0000:ffff:') === 0) {
                    $lastBytes = array_slice($this->getBytes(), -4);
                    $this->shortAddress = '::ffff:'.implode('.', $lastBytes);
                } else {
                    $chunks = array_map(
                        function ($word) {
                            return dechex($word);
                        },
                        $this->getWords()
                    );
                    $shortAddress = implode(':', $chunks);
                    $matches = null;
                    for ($i = 8; $i > 1; --$i) {
                        $search = '(?:^|:)'.rtrim(str_repeat('0:', $i), ':').'(?:$|:)';
                        if (preg_match('/^(.*?)'.$search.'(.*)$/', $shortAddress, $matches)) {
                            $shortAddress = $matches[1].'::'.$matches[2];
                            break;
                        }
                    }
                    $this->shortAddress = $shortAddress;
                }
            }
            $result = $this->shortAddress;
        }

        return $result;
    }
282843
private function isValidLicenseString($license)
    {
        $tokens = array(
            'po' => '\(',
            'pc' => '\)',
            'op' => '(?:or|and)',
            'lix' => '(?:NONE|NOASSERTION)',
            'lir' => 'LicenseRef-\d+',
            'lic' => '[-+_.a-zA-Z0-9]{3,}',
            'ws' => '\s+',
            '_' => '.',
        );

        $next = function () use ($license, $tokens) {
            static $offset = 0;

            if ($offset >= strlen($license)) {
                return null;
            }

            foreach ($tokens as $name => $token) {
                if (false === $r = preg_match('{' . $token . '}', $license, $matches, PREG_OFFSET_CAPTURE, $offset)) {
                    throw new \RuntimeException('Pattern for token %s failed (regex error).', $name);
                }
                if ($r === 0) {
                    continue;
                }
                if ($matches[0][1] !== $offset) {
                    continue;
                }
                $offset += strlen($matches[0][0]);

                return array($name, $matches[0][0]);
            }

            throw new \RuntimeException('At least the last pattern needs to match, but it did not (dot-match-all is missing?).');
        };

        $open = 0;
        $require = 1;
        $lastop = null;

        while (list($token, $string) = $next()) {
            switch ($token) {
                case 'po':
                    if ($open || !$require) {
                        return false;
                    }
                    $open = 1;
                    break;
                case 'pc':
                    if ($open !== 1 || $require || !$lastop) {
                        return false;
                    }
                    $open = 2;
                    break;
                case 'op':
                    if ($require || !$open) {
                        return false;
                    }
                    $lastop || $lastop = $string;
                    if ($lastop !== $string) {
                        return false;
                    }
                    $require = 1;
                    break;
                case 'lix':
                    if ($open) {
                        return false;
                    }
                    goto lir;
                case 'lic':
                    if (!$this->isValidLicenseIdentifier($string)) {
                        return false;
                    }
                    // Fall-through intended
                case 'lir':
                    lir:
                    if (!$require) {
                        return false;
                    }
                    $require = 0;
                    break;
                case 'ws':
                    break;
                case '_':
                    return false;
                default:
                    throw new \RuntimeException(sprintf('Unparsed token: %s.', print_r($token, true)));
            }
        }

        return !($open % 2 || $require);
    }
1006553
def long_description(*filenames):
    """"""
    res = ['']
    for filename in filenames:
        with open(filename) as fp:
            for line in fp:
                res.append('   ' + line)
            res.append('')
        res.append('\n')
    return EMPTYSTRING.join(res)
946988
public function getLicense() : ?string 
    {
        if ( ! $this->hasLicense()) {
            $this->setLicense($this->getDefaultLicense());
        }
        return $this->license;
    }
104038
public function get_description() {
        $name = $this->other['name'];
        $plugin = isset($this->other['plugin']) ? $this->other['plugin'] : 'core';
        $value = isset($this->other['value']) ? $this->other['value'] : 'Not set';
        $oldvalue = isset($this->other['oldvalue']) ? $this->other['oldvalue'] : 'Not set';
        return "The user with id '$this->userid' changed the config setting '$name' for component '$plugin' " .
               "from '$oldvalue' to '$value'.";
    }
499729
protected function getLicenseFile($licenseName)
    {
        return isset($this->licenses[strtoupper($licenseName)]) ? $this->licenses[strtoupper($licenseName)] : '';
    }
507769
def get_long_description():
    
    here = path.abspath(path.dirname(__file__))
    with open(path.join(here, 'README.rst')) as readme:
        return readme.read()
    return None