(no description)
File Size: | 134 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SheetManager:: (7 methods):
__construct()
throwIfNameIsInvalid()
markWorkbookIdAsUsed()
markSheetNameAsUsed()
doesContainInvalidCharacters()
doesStartOrEndWithSingleQuote()
isNameUnique()
Class: SheetManager - X-Ref
__construct(StringHelper $stringHelper) X-Ref |
SheetManager constructor. |
throwIfNameIsInvalid(string $name, Sheet $sheet) X-Ref |
Throws an exception if the given sheet's name is not valid. param: Sheet $sheet The sheet whose future name is checked |
markWorkbookIdAsUsed(string $workbookId) X-Ref |
param: string $workbookId Workbook ID associated to a Sheet |
markSheetNameAsUsed(Sheet $sheet) X-Ref |
No description |
doesContainInvalidCharacters(string $name) X-Ref |
Returns whether the given name contains at least one invalid character. return: bool TRUE if the name contains invalid characters, FALSE otherwise |
doesStartOrEndWithSingleQuote(string $name) X-Ref |
Returns whether the given name starts or ends with a single quote. return: bool TRUE if the name starts or ends with a single quote, FALSE otherwise |
isNameUnique(string $name, Sheet $sheet) X-Ref |
Returns whether the given name is unique. param: Sheet $sheet The sheet whose future name is checked return: bool TRUE if the name is unique, FALSE otherwise |