public function printName() { if ($this->prettyname) { return $this->prettyname; } return $this->name; }