All pastes #27468 Raw Edit

Stuff

public text v1 · immutable
#27468 ·published 2005-11-03 05:57 UTC
rendered paste body
/**
         * Getter for printable name
         */
        function get_print_name() {
                $name = "";
                if (strlen($this->get("first_name")) > 0) {
                        $name .= trim($this->get("first_name"));
                }
                elseif (strlen($this->get("middle_name")) > 0) {
                        $name .= " " . trim($this->get("middle_name"));
                }
                elseif (strlen($this->get("last_name")) > 0) {
                        $name .= " " . trim($this->get("last_name"));
                }
                return $name;
        }

        /**