Skip to Content Skip to Menu

Documentation needed for plan object in CBSubs

  • GUEST
9 years 2 days ago - 9 years 2 days ago #272260 by
Hi,

There's a lot of "planId" in CBSubs, but I can't find any corresponding plan model (looking in plug_cbpaidsubscriptions). Do you have any phpdoc generated documentation about your models, anything at all? Please fix ASAP if not. An undocumented software product is not production ready.

Regards
Olle
limesurvey.org

Edit: Problem solved fetching the table `cbsubs_plans` directly.
Last edit: 9 years 2 days ago by .

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48435
  • Thanks: 8275
  • Karma: 1443
9 years 2 days ago #272288 by krileon
We'll be writing development documentation after the new site launches. The plan id is in relation to the plan row in _cbsubs_plans. The plan object class is found below.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/product/cbpaidProduct.php


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • GUEST
9 years 2 days ago #272293 by

krileon wrote: We'll be writing development documentation after the new site launches. The plan id is in relation to the plan row in _cbsubs_plans. The plan object class is found below.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/product/cbpaidProduct.php


Great! You have a date for the relaunch?

Maybe "planId" should be called "paidProductId"... ;) Thanks, though.

Olle

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48435
  • Thanks: 8275
  • Karma: 1443
9 years 2 days ago #272309 by krileon

You have a date for the relaunch?

Nope, whenever it's ready.

Maybe "planId" should be called "paidProductId"... ;) Thanks, though.

It's a generic class that will likely be refactored in a later release to use libraries better structured like CB 2.x APIs and resent plugin rewrites.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum