Jump to content

Object question


tibberous

Recommended Posts

I have an object. When I print_r it, I get this:

 

mosParameters Object
(
    [_params] => stdClass Object
        (
            [catid] => 3
            [style] => random
            [items] => 
            [moduleclass_sfx] => 
            [intro_only] => 1
            [hide_author] => 1
            [hide_createdate] => 0
            [hide_modifydate] => 1
            [link_titles] => 0
        )

    [_raw] => catid=3
style=random
items=
moduleclass_sfx=
    [_path] => 
    [_type] => component
    [_xmlElem] => 
)

 

How do I refer to moduleclass_sfx -> _type? I tried array notation, object syntax, even the get method built into the class, but can't get it =( Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/88152-object-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.