public function OWLStanza::getAttribute
3.x OWLStanza.inc | public OWLStanza::getAttribute($attribute_name) |
Parameters
$attribute_name:
Return value
An|NULL
File
- tripal_chado/
includes/ loaders/ OWLStanza.inc, line 231 - OWL redesign using Classes (Objects)
Class
- OWLStanza
- @file OWL redesign using Classes (Objects)
Code
public function getAttribute($attribute_name) {
foreach ($this->attributes as $aname => $value) {
if ($aname == $attribute_name) {
return $value;
}
}
return NULL;
}