John Posted October 23, 2016 Report Posted October 23, 2016 Hello All, I'm pretty new to this development stuff, so bear with me here. I'm trying to get a list of all packages, not just the active ones. The code I am currently using is below, and I have not found a way to list all (active, restricted, inactive) packages. Quote $packages = $this->ArrayHelper->numericToKey($this->Packages->getAll($this->company_id, array('name' => "ASC"), "active"), "id", "name"); I'm guessing I need to change the bolded part above to something else, but I have not found what that is yet. Thank you! John Quote
Blesta Addons Posted October 23, 2016 Report Posted October 23, 2016 Try this $packages = $this->ArrayHelper->numericToKey($this->Packages->getAll($this->company_id, array('name' => "ASC")), "id", "name"); John 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.