Skip to content

Instantly share code, notes, and snippets.

@tmaroschik
Created September 13, 2013 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmaroschik/704a57c56b30e50845b7 to your computer and use it in GitHub Desktop.
Save tmaroschik/704a57c56b30e50845b7 to your computer and use it in GitHub Desktop.
<?php
/***************************************************************
* Copyright notice
*
* (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
*
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Enter descriptions here
*/
class Tx_Traveldb_Domain_Enumeration_AgeQualifyingCode extends SplEnum {
const __default = self::ADULT;
const OVER_21 = 1;
const OVER_65 = 2;
const UNDER_2 = 3;
const UNDER_12 = 4;
const UNDER_17 = 5;
const UNDER_21 = 6;
const INFANT = 7;
const CHILD = 8;
const TEENAGER = 9;
const ADULT = 10;
const SENIOR = 11;
const ADDITIONAL_OCCUPANT_WITH_ADULT = 12;
const ADDITIONAL_OCCUPANT_WITHOUT_ADULT = 13;
const FREE_CHILD = 14;
const FREE_ADULT = 15;
const YOUNG_DRIVER = 16;
const YOUNGER_DRIVER = 17;
const UNDER_10 = 18;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment