Skip to content

class methods containing certain things don't show properly in navigator #18

@donut

Description

@donut

The title really says it all. Here's some code for you!

Check the context!

Update: At first I thought it was just HTML in strings that messed things up. But I'm finding other things as well. I'll use the code block below to keep a running list of things that mess up the navigator in this same way:

<?php   
class Goomba {
    function nav_sees_me () {
        echo "I'm loved!"; }

    function nav_hate_HTML () {
        echo "<b>I'm not loved :(</b>"; }

    function nav_hate_STATIC () {
        static $i_mess_things_up_to;
        echo "The navigator hates me cuz of the static. :("; }
}

Note that these methods have to be in a class since non-class methods (functions?) are not seen by the navigator at all.

Espresso 1.0.4 & PHP.sugar 1.0b6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions