This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Some component properties are not listed, for instance, in Rainlab Blog Plugin, like post.featured_images.count property. Then, how do I know all properties available for a component? Any method to do that, like printing all properties to HTML page or how?
you can die and dump vars. So you can inspect the whole object.
In laravel there is this nice command
dd($object)
I am trying to inspect "post.featured_images.count", but I have trouble inspecting that, like I do not find that.
I read dump in documentation, but how to dump a nested variables/properties? Like, when I dump an object, it shows some objects. How to dump these objects?
Also, >Crazymodder said:
you can die and dump vars. So you can inspect the whole object.
In laravel there is this nice command
dd($object)
How to do this exactly? I am not yet a Laravelian, but I love October.
Anyway, thanks for the help!
Simply go to your php file where you have an object instance.
Now you can do
dd($object);
So programm will die (d) and dump (d) at this point. October based on Laravel so you can profit from the power of laravel.
1-4 of 4