ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Class ModifierServices. More...
Public Member Functions | |
__construct () | |
LayoutServices constructor. More... | |
modifyPageWithClosure (Closure $closure_returning_page) | |
modifyContentWithClosure (Closure $closure_returning_content) | |
modifyMainBarWithClosure (Closure $closure_returning_main_bar) | |
modifyMetaBarWithClosure (Closure $closure_returning_meta_bar) | |
modifyLogoWithClosure (Closure $closure_returning_image) | |
modifyResponsiveLogoWithClosure (Closure $closure_returning_image) | |
modifyBreadCrumbsWithClosure (Closure $closure_returning_breadcrumbs) | |
modifyPageBuilderWithClosure (Closure $closure_returning_page) | |
modifyFooterWithClosure (Closure $closure_returning_footer) | |
getPageWithPagePartProviders () | |
modifyTitleWithClosure (Closure $closure_returning_title) | |
modifyShortTitleWithClosure (Closure $closure_returning_short_title) | |
modifyViewTitleWithClosure (Closure $closure_returning_view_title) | |
Private Member Functions | |
replaceWithAutoWiredInstance (string $interface, Closure $closure) | |
Private Attributes | |
StandardPageBuilder DecoratedPageBuilder | $current_page_builder |
StandardPagePartProvider DecoratedPagePartProvider | $current_page_part_provider |
Class ModifierServices.
Definition at line 41 of file ModificationHandler.php.
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::__construct | ( | ) |
LayoutServices constructor.
Definition at line 51 of file ModificationHandler.php.
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::getPageWithPagePartProviders | ( | ) |
Definition at line 146 of file ModificationHandler.php.
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyBreadCrumbsWithClosure | ( | Closure | $closure_returning_breadcrumbs | ) |
Closure | $closure_returning_breadcrumbs | Have a look at the README.md for an example. |
Definition at line 122 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyContentWithClosure | ( | Closure | $closure_returning_content | ) |
Closure | $closure_returning_content | Have a look at the README.md for an example. |
Definition at line 78 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyFooterWithClosure | ( | Closure | $closure_returning_footer | ) |
Closure | $closure_returning_footer |
Definition at line 138 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyLogoWithClosure | ( | Closure | $closure_returning_image | ) |
Closure | $closure_returning_image | Have a look at the README.md for an example. |
Definition at line 105 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\DecoratedPagePartProvider\PURPOSE_LOGO, and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyMainBarWithClosure | ( | Closure | $closure_returning_main_bar | ) |
Closure | $closure_returning_main_bar | Have a look at the README.md for an example. |
Definition at line 87 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyMetaBarWithClosure | ( | Closure | $closure_returning_meta_bar | ) |
Closure | $closure_returning_meta_bar | Have a look at the README.md for an example. |
Definition at line 96 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyPageBuilderWithClosure | ( | Closure | $closure_returning_page | ) |
Closure | $closure_returning_page |
Definition at line 130 of file ModificationHandler.php.
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyPageWithClosure | ( | Closure | $closure_returning_page | ) |
Closure | $closure_returning_page | You can pass a Closure which will get the Page as the first argument and MUST return a Page as well. Have a look at the README.md for an example. |
Definition at line 69 of file ModificationHandler.php.
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyResponsiveLogoWithClosure | ( | Closure | $closure_returning_image | ) |
Definition at line 110 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\DecoratedPagePartProvider\PURPOSE_RESPONSIVE_LOGO, and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyShortTitleWithClosure | ( | Closure | $closure_returning_short_title | ) |
Definition at line 159 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\DecoratedPagePartProvider\PURPOSE_SHORTTITLE, and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyTitleWithClosure | ( | Closure | $closure_returning_title | ) |
Definition at line 151 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\DecoratedPagePartProvider\PURPOSE_TITLE, and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
ILIAS\GlobalScreen\Scope\Layout\ModificationHandler::modifyViewTitleWithClosure | ( | Closure | $closure_returning_view_title | ) |
Definition at line 167 of file ModificationHandler.php.
References ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\DecoratedPagePartProvider\PURPOSE_VIEWTITLE, and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\replaceWithAutoWiredInstance().
|
private |
string | $interface | |
Closure | $closure |
Definition at line 179 of file ModificationHandler.php.
Referenced by ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyBreadCrumbsWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyContentWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyFooterWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyLogoWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyMainBarWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyMetaBarWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyResponsiveLogoWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyShortTitleWithClosure(), ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyTitleWithClosure(), and ILIAS\GlobalScreen\Scope\Layout\ModificationHandler\modifyViewTitleWithClosure().
|
private |
Definition at line 45 of file ModificationHandler.php.
|
private |
Definition at line 46 of file ModificationHandler.php.