"Fossies" - the Fresh Open Source Software Archive

Member "ILIAS-5.4.9/src/UI/examples/Button/Primary/base.php" (24 Jan 2020, 206 Bytes) of package /linux/www/ILIAS-5.4.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "base.php": 5.4.6_vs_5.4.7.

    1 <?php
    2 function base()
    3 {
    4     global $DIC;
    5     $f = $DIC->ui()->factory();
    6     $renderer = $DIC->ui()->renderer();
    7 
    8     return $renderer->render($f->button()->primary("Goto ILIAS", "http://www.ilias.de"));
    9 }