<?php

/**
 * User
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @package    chrisal
 * @subpackage model
 * @author     SyLord
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
class User extends PluginUser
{
    public function getPhoneOrOrg()
    {
        if ($this->getOrganization())
        {
            return $this->getOrganization();
        }
        else
        {
            return $this->getUsername();
        }
    }
}
