<?php

require_once 'model/om/BaseSnippetUser.php';


/**
 * Skeleton subclass for representing a row from the 'sn_user' table.
 *
 * 
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package model
 */	
class SnippetUser extends BaseSnippetUser
{
  public function __toString()
  {
    if($this->getFirstName() || $this->getLastName())
    {
      return $this->getFirstName().' '.$this->getLastName();
    }
    else
    {
      return $this->getLogin(); 
    }
  }
}

