newb questions

17 years 5 months ago #24482 by bjraines
newb questions was created by bjraines
I have been reading several modules and plugins. I am trying to learn how to use the API correctly.

Now my question is
if you are pulling the message from the paramter why did you include it here. would it not pull the text of whatever was in the field in the plugin parameters? Also wouldnt it get the publish state. Why does it need to be stated?

[code:1] $is_helloworld_plug_enabled = $params->get('hwPlugEnabled', "1"«»);
$helloworld_tab_message = $params->get('hwTabMessage', "Hello Joomlapolitans!"«»);
[/code:1]

also why is this needed at the beginning?

[code:1] $return = null;
[/code:1]
The topic has been locked.
17 years 5 months ago #24495 by nant
Replied by nant on topic Re:newb questions
Please post these questions as part of the CB Helloworld article threads (so all relevant info can be found in one place).

thanks
The topic has been locked.
Moderators: beatnantkrileon
Time to create page: 0.222 seconds