Changeset 390 in t29-www for lib/menu.php


Ignore:
Timestamp:
May 9, 2013, 2:37:12 PM (6 years ago)
Author:
sven
Message:
  • Vor/Zurück-Link bei Lernprojekten aktiviert
  • Anzeige fehlender englischer Übersetzungen wieder aktiviert (aufgehübscht; mit Infobox)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/menu.php

    r350 r390  
    158158         * Extracts a list of (CSS) classes the link has,
    159159         * e.g. <a class="foo bar"> gives array("foo","basr").
     160         *
     161         * Caveat: This must be called before this class is destructed
     162         * by print_menu! Otherwise it will return an empty array. This is
     163         * actually bad design, print_menu destroyes the internal structure
     164         * for storage efficiencey.
     165         *
    160166         * @returns array or empty array in case of error
    161167         **/
    162168        function get_link_classes($seiten_id=false) {
    163169                $link = $this->get_link($seiten_id);
    164                 print "link:"; var_dump($this->xml);
     170                //print "link:"; var_dump($this->xml);
    165171                if(!$link) return array();
    166                 var_dump($link); exit;
     172                //var_dump($link); exit;
    167173                return isset($link['class']) ? explode(' ',$link['class']) : array();
    168174        }
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License