A base class for creating and verifying software licenses.
category | OSS |
---|---|
package | OSS_License |
copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
license | New BSD License |
__construct($license)
generate() : string
string
The licensegetParam(string $p) : string
string
The parameter name (INI compatible value)
string
The parameter value (or null)getParams() : array
array
The license parameterssetParam(string $p, string $v) : \OSS_License_Abstract
string
The parameter name (INI compatible value)
string
The parameter value (INI compatible value)
\OSS_License_Abstract
Instance of the license for fluent interfacesverify() : bool
\OSS_License_Exception |
An exception with a public error message |
---|
bool
True if it is valid (exception on failure)_amalgamate() : string
string
_createIni() : string
string
$_license : array