Jump to content

Get all packages, not just active ones


Recommended Posts

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...