public function getPropertyValues($name)
    {
        $values = array();

        if (count($this) > 0) {
            if (!isset($this->getFirst()->$name)) {
                throw new SwatDBException(
                    "Records in this recordset do not contain a property " .
                        "named '{$name}'."
                );
            }

            foreach ($this->objects as $object) {
                $values[] = $object->$name;
            }
        }

        return $values;
    }