<?php

/**
 * PluginLeaveType
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @package    ##PACKAGE##
 * @subpackage ##SUBPACKAGE##
 * @author     ##NAME## <##EMAIL##>
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class PluginLeaveType extends BaseLeaveType
{
    const AVAILABLE = 1;
    const UNAVAILABLE = 0;

    public function getDescriptiveLeaveTypeName() {
        return $this->getLeaveTypeName() ." ". (($this->getAvailableFlag() == self::AVAILABLE) ? '' : '('.__('Deleted').')');
    }
}