<?php

/**
 * The definition for the contact_url class.
 *
 * @package CGContacts
 * @category Productivity
 * @author  calguy1000 <calguy1000@cmsmadesimple.org>
 * @copyright Copyright 2014 by Robert Campbell
 */

namespace CGContacts;

/**
 * A class to represent a URL object within a contact.
 * Multiple URL objects can be associated with a contact.
 */
class contact_url extends contact_simple_value
{
    /**
     * Get the URL value associated with this object.
     *
     * @return string
     */
    public function get_address()
    {
        return parent::get_value();
    }

    /**
     * Get the URL value associated with this object.
     *
     * @param string $val
     */
    public function set_address($val)
    {
        parent::set_value($val);
    }

} // end of class

?>
