|
ultimix
|
Public Member Functions | |
| __construct () | |
| validate_parameters ($Parameters, $Conditions) | |
| parse_parameters ($Parameters, $Conditions) | |
| other_macro_was_found ($TmpStartPos, $TmpEndPos, $Counter, $ParserCursor) | |
| handle_extra_cases ($TmpStartPos, $TmpEndPos, $Counter, $ParserCursor) | |
| find_parameters_end ($StringData, $MacroName, $ParserCursor) | |
| parse_macro ($StringData, $MacroName, $Conditions, $StartPos) | |
| find_next_macro ($StringData, $MacroName, $Conditions) | |
| get_macro_parameters () | |
| get_positions ($StringData, $MacroName) | |
| get_next_position ($Value, $Key, $StartPos, $EndPos, $c) | |
| get_macro_end_position ($StringData, $MacroName) | |
| hide_macro ($StringData, $MacroName) | |
| show_macro ($StringData, $MacroName) | |
Data Fields | |
| $CachedMultyFS = false | |
| $String = false | |
| $StartPosition = false | |
| $EndPosition = false | |
| $RawMacroParameters = false | |
| $MacroParameters = false | |
Class processes page's macro.
Definition at line 28 of file page_parser.php.
| __construct | ( | ) |
Constructor.
Definition at line 102 of file page_parser.php.
| find_next_macro | ( | $StringData, | |
| $MacroName, | |||
| $Conditions | |||
| ) |
Function finds macro in the text.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| $Conditions | - Conditions of the processing. |
| Exception | - An exception of this type is thrown. |
Definition at line 484 of file page_parser.php.
| find_parameters_end | ( | $StringData, | |
| $MacroName, | |||
| $ParserCursor | |||
| ) |
Function searches paremeters end.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| $ParserCursor | - Position to start from. |
| Exception | - An exception of this type is thrown. |
Definition at line 369 of file page_parser.php.
| get_macro_end_position | ( | $StringData, | |
| $MacroName | |||
| ) |
Function finds macro end in the text.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| Exception | - An exception of this type is thrown. |
Definition at line 697 of file page_parser.php.
| get_macro_parameters | ( | ) |
Function provides access to the macro parameters.
| Exception | - An exception of this type is thrown. |
Definition at line 534 of file page_parser.php.
| get_next_position | ( | $Value, | |
| $Key, | |||
| $StartPos, | |||
| $EndPos, | |||
| $c | |||
| ) |
Function processes position.
| $Value | - |
| $Key | - |
| $StartPos | - |
| $EndPos | - |
| $c | - |
| Exception | - An exception of this type is thrown. |
Definition at line 645 of file page_parser.php.
| get_positions | ( | $StringData, | |
| $MacroName | |||
| ) |
Function finds all candidates to be the macro's end.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| Exception | - An exception of this type is thrown. |
Definition at line 578 of file page_parser.php.
| handle_extra_cases | ( | $TmpStartPos, | |
| $TmpEndPos, | |||
| $Counter, | |||
| $ParserCursor | |||
| ) |
Function processes extra cases.
| $TmpStartPos | - Start position. |
| $TmpEndPos | - End position. |
| $Counter | - Counter. |
| $ParserCursor | - Parsing cursor. |
| Exception | - An exception of this type is thrown. |
Definition at line 310 of file page_parser.php.
| hide_macro | ( | $StringData, | |
| $MacroName | |||
| ) |
Function hides macro.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| Exception | - An exception of this type is thrown. |
Definition at line 755 of file page_parser.php.
| other_macro_was_found | ( | $TmpStartPos, | |
| $TmpEndPos, | |||
| $Counter, | |||
| $ParserCursor | |||
| ) |
Function iterates if nested macro was found.
| $TmpStartPos | |
| $TmpEndPos | |
| $Counter | |
| $ParserCursor |
| Exception | - An exception of this type is thrown. |
Definition at line 250 of file page_parser.php.
| parse_macro | ( | $StringData, | |
| $MacroName, | |||
| $Conditions, | |||
| $StartPos | |||
| ) |
Function tries to parse macro.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| $Conditions | - Conditions of the processing. |
| $StartPos | - Position to start from. |
| Exception | - An exception of this type is thrown. |
Definition at line 432 of file page_parser.php.
| parse_parameters | ( | $Parameters, | |
| $Conditions | |||
| ) |
Function tries to parse macro parameters.
| $Parameters | - Parameters to parse. |
| $Conditions | - Conditions of the processing. |
| Exception | - An exception of this type is thrown. |
Definition at line 196 of file page_parser.php.
| show_macro | ( | $StringData, | |
| $MacroName | |||
| ) |
Function shows macro.
| $StringData | - Processing string. |
| $MacroName | - Macro's name. |
| Exception | - An exception of this type is thrown. |
Definition at line 801 of file page_parser.php.
| validate_parameters | ( | $Parameters, | |
| $Conditions | |||
| ) |
Function tries to validate macro parameters.
| $Parameters | - Parameters to validate. |
| $Conditions | - Conditions of the processing. |
| Exception | - An exception of this type is thrown. |
Definition at line 141 of file page_parser.php.
| $CachedMultyFS = false |
Cached objects.
Definition at line 41 of file page_parser.php.
| $EndPosition = false |
Ending block's position.
Definition at line 66 of file page_parser.php.
| $MacroParameters = false |
Macro parameters.
Definition at line 90 of file page_parser.php.
| $RawMacroParameters = false |
Macro parameters.
Definition at line 78 of file page_parser.php.
| $StartPosition = false |
Opening block's position.
Definition at line 54 of file page_parser.php.
| $String = false |
Definition at line 42 of file page_parser.php.