| 1 | <?php |
||
| 14 | class SettingsHelper |
||
| 15 | { |
||
| 16 | const SETTINGS_XML_FILE_PATH = 'settings.xml'; |
||
| 17 | |||
| 18 | /** Definition of XML nodes name and attribute used to parse settings data */ |
||
| 19 | const XML_NODE_CONFIG_ITEM = 'config:config-item'; |
||
| 20 | const XML_ATTRIBUTE_CONFIG_NAME = 'config:name'; |
||
| 21 | const XML_ATTRIBUTE_VALUE_ACTIVE_TABLE = 'ActiveTable'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $filePath Path of the file to be read |
||
| 25 | * @return string|null Name of the sheet that was defined as active or NULL if none found |
||
| 26 | */ |
||
| 27 | 90 | public function getActiveSheetName($filePath) |
|
| 51 | } |
||
| 52 |