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 Event:
13: * The Event tag value should be reasonably descriptive.
14: * Abbreviations are to be avoided unless absolutely necessary.
15: * A consistent event naming should be used to help facilitate database scanning.
16: * If the name of the event is unknown, a single question mark should appear as the tag value.
17: * @see pgn_standard.txt
18: * @author Geraldo
19: */
20: class Event extends Tag {
21:
22: public function getName() {
23: $parsed = Parser::parseClassName(get_class());
24: return $parsed['className'];
25: }
26:
27: }
28: