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
stringThe licensegetParam(string $p) : string
stringThe parameter name (INI compatible value)
stringThe parameter value (or null)getParams() : array
arrayThe license parameterssetParam(string $p, string $v) : \OSS_License_Abstract
stringThe parameter name (INI compatible value)
stringThe parameter value (INI compatible value)
\OSS_License_AbstractInstance of the license for fluent interfacesverify() : bool
\OSS_License_Exception |
An exception with a public error message |
|---|
boolTrue if it is valid (exception on failure)_amalgamate() : string
string_createIni() : string
string$_license : array