* Getter for surname. If no surname is set then default surnames are set
* for male and female personells.
*
- * @return $surname The personell' surname
+ * @return $surname The personell' surname
*/
public final function getSurname () {
$surname = parent::getSurname();
+
// Make sure every one has a surname...
if (empty($surname)) {
if ($this->isMale()) {
// Set typical family name
parent::setFamily("Smith");
- }
+ } // END - if
+
+ // Return surname
return $surname;
}
/**
* Loads the mostly pre-cached personell list
*
- * @param $idNumber The ID number we shall use for looking up
+ * @param $idNumber The ID number we shall use for looking up
* the right data.
* @return void
* @throws ContainerItemIsNullException If a container item is null
* @throws ContainerItemIsNoArrayException If a container item is
- * not an array
+ * not an array
* @throws ContainerMaybeDamagedException If the container item
- * is missing the indexes
- * 'name' and/or 'value'
+ * is missing the indexes
+ * 'name' and/or 'value'
* @see SerializationContainer A special container class which
- * helps storing only some attributes
- * of a class.
+ * helps storing only some attributes
+ * of a class.
*/
public function loadPersonellList ($idNumber) {
// Cleared because old code
- $this->partialStub("Clear because of old lost code was usaged.");
+ $this->partialStub("Cleared because old lost code was used.");
}
}