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 Mode:
13: * This uses a string that gives the playing mode of the game. Examples: "OTB"
14: * (over the board), "PM" (paper mail), "EM" (electronic mail), "ICS" (Internet
15: * Chess Server), and "TC" (general telecommunication).
16: * @see pgn_standard.txt
17: * @author Geraldo
18: */
19: class Mode extends Tag {
20:
21: public function getName() {
22: $parsed = Parser::parseClassName(get_class());
23: return $parsed['className'];
24: }
25:
26: }
27: