pgb_liv\php_ms\Core\PsiXmlTrait
Trait for generic methods that are consistent across all HUPO-PSI standards (e.g.
CvParam)
- Author: Andrew Collins
Synopsis
trait PsiXmlTrait
{
- // constants
- const CV_ACCESSION = 'accession';
- const CV_VALUE = 'value';
- const CV_NAME = 'name';
- const CV_UNITACCESSION = 'unitAccession';
- // members
- private array $cvParamIndex = ;
- // methods
- public void getCvParamName()
- protected void getCvParam()
- protected void getUserParam()
- protected void getAttributeId()
Hierarchy
Coverage
Methods | 0% | 0 / 4 |
Lines | 0% | / |
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
99 | 6 | error | Closing brace must be on a line by itself |
Constants
Name | Value |
---|---|
CV_ACCESSION | 'accession' |
CV_VALUE | 'value' |
CV_NAME | 'name' |
CV_UNITACCESSION | 'unitAccession' |
Members
private
- $cvParamIndex
—
array
Builds an index of seen CvParams of Accession -> Name
Methods
protected
- getAttributeId()
- getCvParam() — Creates an array object from a CvParam object
- getUserParam()
public
- getCvParamName() — {@inheritdoc}
History
-
2017-10-25T13:16:01+00:00 (commit #d497193)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Minor code tidy