Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 154
3 votes
Accepted

State set to 0 after parent::publish

After that it tries to read the value of the task in the array: $value = JArrayHelper::getValue($data, $task, 0, 'int'); But it won't find "setup" in that array. So the value is 0. … I wouldn't call parent::publish() if your task is "setup". You could avoid that if you wrap that call like this: if($task ! …
fruppel's user avatar
  • 3,733
2 votes

Add a task for a module

No it's not possible. You need a component to handle tasks in Joomla.
fruppel's user avatar
  • 3,733