Missing documentation for events

  • Olle Haerstedt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 days ago - 8 years 2 days ago #81503 by Olle Haerstedt
Missing documentation for events was created by Olle Haerstedt
Hi,

In the plugins provided by MembershipPro, onMembershipActive is documented as having @return bool, but in the documentation ( membershipprodoc.joomservices.com/develo...n#onmembershipactive ), there's no such information. Could you please add this? And what's the difference between returning false and true for this function?

Regards
Olle

Edit: $row is of type SubscriberOSMembership Object, according to print_r. It should not be called row, because that suggests it's a row from a database call. The doc should also reflect this (@param SubscriberOSMembership Object $row).
Last edit: 8 years 2 days ago by Olle Haerstedt.

Please Log in or Create an account to join the conversation.

More
8 years 3 hours ago #81551 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Missing documentation for events
Hi Olle

Thanks for pointing it out. We are going to check and change it. For your information, at the moment, there is no difference between return false or true, the result of the method is ignored at the moment

Tuan

Please Log in or Create an account to join the conversation.