1: <?php
2: /*
3: * Copyright (c) 2016 Geraldo B. Landre
4: *
5: * See the file LICENSE for copying permission.
6: */
7: namespace pgn\tags;
8:
9: use utils\Parser;
10:
11: /**
12: * Description of Site:
13: * The Site tag value should include city and region names along with a
14: * standard name for the country.
15: * The use of the IOC (International Olympic Committee) three letter names is
16: * suggested for those countries where such codes are available.
17: * If the site of the event is unknown, a single question mark should appear
18: * as the tag value.
19: * A comma may be used to separate a city from a region. No comma is needed to
20: * separate a city or region from the IOC country code.
21: * A later section of this document gives a list of three letter
22: * nation codes along with a few additions for "locations" not covered
23: * by the IOC.
24: *
25: * It's behavior is the same from event (validation and default value)
26: *
27: * @see pgn_standard.txt
28: * @author Geraldo
29: */
30: class Site extends Tag {
31: public function getName() {
32: $parsed = Parser::parseClassName(get_class());
33: return $parsed['className'];
34: }
35: }