public getNameWithAlternateId ( ) : string | ||
return | string | Get the name of this element with its alternate id attached |
public function getNameWithAlternateId() : string
{
if ($this->alternate_id) {
return "{$this->getName()},{$this->alternate_id}";
}
return $this->getName();
}