public function addName($lastName = '', $firstName = '', $additional = '', $prefix = '', $suffix = '')
{
// define values with non-empty values
$values = array_filter(array($prefix, $firstName, $additional, $lastName, $suffix));
// define filename
$this->setFilename($values);
// set property
$property = $lastName . ';' . $firstName . ';' . $additional . ';' . $prefix . ';' . $suffix;
$this->setProperty('name', 'N' . $this->getCharsetString(), $property);
// is property FN set?
if (!$this->hasProperty('FN')) {
// set property
$this->setProperty('fullname', 'FN' . $this->getCharsetString(), trim(implode(' ', $values)));
}
return $this;
}