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
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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now