[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 90 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SwitchStatement:: (4 methods):
__construct()
generate()
getSource()
getValuesPerCodeBranch()
Class: SwitchStatement - X-Ref
__construct(array $branchesCode, $defaultCode = '') X-Ref |
param: array $branchesCode Dictionary of [value => php code] param: string $defaultCode PHP code for the default case |
generate($expr, array $branchesCode, $defaultCode = '') X-Ref |
Create and return the source code for a switch statement param: string $expr Expression used for the switch clause param: array $branchesCode Dictionary of [value => php code] param: string $defaultCode PHP code for the default case return: string PHP code |
getSource($expr) X-Ref |
Return the source code for this switch statement param: string $expr Expression used for the switch clause return: string PHP code |
getValuesPerCodeBranch() X-Ref |
Group branches by their content and return the switch values for each branch return: array |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |