This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
developers:geoclass:geoview:start [2009/03/25 17:36] jonyo created |
developers:geoclass:geoview:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 15: | Line 15: | ||
For this explanation, | For this explanation, | ||
- | It happens that the "best place" to do that, would be in the [[developers/addons/core_events/start|Core Event]] **notify_display_page**. | + | It happens that the "best place" to do that, would be in the [[developers:addons:core_events|Core Event]] **notify_display_page**. |
First, wherever in your addon you are manipulating the geoView variables, you would first get an instance of the geoView class: | First, wherever in your addon you are manipulating the geoView variables, you would first get an instance of the geoView class: | ||
Line 99: | Line 99: | ||
</ | </ | ||
- | The // | + | The // |
+ | |||
+ | See that there is a variable in the above example that would be something like: | ||
<code php> | <code php> | ||
Line 108: | Line 110: | ||
From the print-out, a variable might be: | From the print-out, a variable might be: | ||
- | [code php]$view-> | + | <code php>$view-> |
Access the above like so: | Access the above like so: | ||
- | [code php]$view-> | + | <code php>$view-> |